I strongly agree with you of decoupling business logic and action class.
If ejb is the right way, any easy tutorial online?


On Tue, 21 Sep 2004 07:23:32 -0700, Michael McGrady
<[EMAIL PROTECTED]> wrote:
> 
> 
> PC Leung wrote:
> 
> >In the mailing list, I have read some people suggesting not to put
> >business logics in Action class. Certainly, business logics should not
> >be in JSP or Form class. Then where should the business logics be put?
> >
> >Thanks
> >
> A good answer to this question is impossible to give, PC, without
> knowing your requirements.  There are some cases where the logic should
> just be put in the Action class.  The important thing is to know the
> issues and to do the right thing in your case.  The biggest issue,
> determining whether you need to get outside your Action class, is
> whether or not you need to decouple your business logic from your Action
> class.
> 
> If so, and this also depends upon what growth you envision, then you
> need to do the sorts of things that people will recommend on this list.
> But, you always have to know what the tune is as well as the lyrics, the
> actual needs versus the technical options.
> 
> Michael McGrady
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to