[
https://issues.apache.org/jira/browse/OFBIZ-6747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16506881#comment-16506881 ]
Mathieu Lirzin edited comment on OFBIZ-6747 at 6/9/18 9:37 AM:
---------------------------------------------------------------
I am not aware of the whole story and the rationale behind it, but I think OFBiz shouldn't depend on non-standard libs like {{ConcurrentLinkedHashMap}} or {{Caffeine}}. The reason is that the framework should depend only the standard {{ConcurrentMap}} interface and should let users choose the implementation of their choice.
To reduce the number of dependencies OFBiz should use one of the implementations from JavaSE by default and provide a way to plug those more performance focused implementations. A factory or any another configuration mechanism would make the job.
was (Author: mthl):
I am not aware about the whole story and the rationale behind it, but I think OFBiz shouldn't depend on non-standard libs like {{ConcurrentLinkedHashMap}} or {{Caffeine}}. The reason is that the framework should depend only the standard {{ConcurrentMap}} interface and should let users choose the implementation of their choice.
To reduce the number of dependencies OFBiz should use one of the implementations from JavaSE by default and provide a way to plug those more performance focused implementations. A factory or any another configuration mechanism would make the job.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)