Re: Question on services methods

2012-01-29 Thread Foo Shyn Chung
Got it. Thanx for the explaination. =) On Sun, Jan 29, 2012 at 3:44 PM, David E Jones d...@me.com wrote: Thread safety issues come from the use of static fields in a class, not static methods. -David Foo Shyn Chung wrote: Hi all, This may sounds stupid, please spare me =p. I've

Re: Question on services methods

2012-01-28 Thread David E Jones
Thread safety issues come from the use of static fields in a class, not static methods. -David Foo Shyn Chung wrote: Hi all, This may sounds stupid, please spare me =p. I've noticed that methods in the Services class are written as static and i'd come across a discussion thread that

Re: Question on services methods

2012-01-20 Thread BJ Freeman
short answer the origial design was to have individual routines so it could be reused. That got lost with new committers. I dont use the SVN since I have re-factored ofbiz. Foo Shyn Chung sent the following on 1/18/2012 8:49 PM: Hi all, This may sounds stupid, please spare me =p. I've

Question on services methods

2012-01-18 Thread Foo Shyn Chung
Hi all, This may sounds stupid, please spare me =p. I've noticed that methods in the Services class are written as static and i'd come across a discussion thread that talked about why it is so. (http://osdir.com/ml/user.ofbiz.apache.org/2009-09/msg00284.html) However, there are times that a