Hi,

I am developing custom services and I want to know if invocation of
public static methods are handled for example in some introspectors or
in FTL controllers. If no - I am gonna to handle it by my own. But in
fact I belive I have missed something.

So my question is:
Is the Ofbiz thread safe?

I do not face issues when working on one machine but in the future I
excpect more visitors than one.

If (If) those methods are not handled in any places, why don't you use
synchronized keyword?

Regards,
Michał Cukierman


Dnia 2010-09-03, pią o godzinie 05:55 -0700, Adrian Crum pisze:
> What exactly do you need to know? Are you running into any concurrency issues?
> 
> -Adrian
> 
> --- On Fri, 9/3/10, Michał Cukierman <[email protected]> wrote:
> 
> > From: Michał Cukierman <[email protected]>
> > Subject: Re: Ofbiz Concurrency handling
> > To: [email protected]
> > Date: Friday, September 3, 2010, 12:55 AM
> > 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ł
> > > 
> > 
> > 
> 
> 
> 

Reply via email to