ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Yong"<jamesy...@apache.org>
Subject Re: Worker, Helper and Util Classes
Date Fri, 03 Nov 2017 06:50:29 GMT
Hi Mayank,

Please see this:

James Yong

On 2017-11-03 14:32, Mayank Lambhate <mayank.lambhate@hotwaxsystems.com> wrote: 
> Hello,
> Recently, I was exploring about multiple class patterns in OFBiz like
> Worker, Helper and Util classes.
> I understood the importance of Util classes, however I am not able to
> clearly distinguish between Worker and Helper classes, as both classes
> mostly have static methods and are not used for business logic.
> Both the classes contains methods that simply, either fetch data, or just
> prepare a data set to be used further use in business logic. Also, in
> Worker methods, we put some additional logics and calculations to fetch the
> desired records, which seems to be less followed in Helper classes.
> Can anyone help me understand the difference and the use cases of these
> methods?
> *-Mayank Lambhate* | Enterprise Software Engineer
> HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> <http://www.hotwaxsystems.com/>

View raw message