Can anyone help me with understandin Ofbiz concurrency handling? Is it thread safe?
Dnia 2010-09-02, czw o godzinie 15:23 +0200, Michał Cukierman pisze: > Hello, > > I do ofbiz customization with some code changes. At the moment Im > extending ecommerce catalog and product structure. This action requires > additional services to be implemented. > > So, I am wondering how ofbiz implements concurent programing issues. > In FTL files in most cases it invokes > public, static, NOT synchronized methods. > > Just an example: > http://www.java2s.com/Open-Source/Java-Document/ERP-CRM-Financial/SourceTap-CRM/org/ofbiz/product/category/CategoryWorker.java.htm > > Are we sure that while invoking: > i.e. getRelatedCategories > We get our related categories? > > See: > http://tutorials.jenkov.com/java-concurrency/synchronized.html > for concurrency basics. > > Regards, > Michał >
