> -----Original Message-----
> From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 5:43 AM
> To: Struts Users Mailing List
> Subject: Action Class Reusable
> 
> 
> Hi All,
> 
> Is there a way we can make our Action Classes reusable across 
> different
> modules?
> Generally we have one Action class for every module.Maybe,if 
> we put our
> business logic in different business classes (particular to a 
> module) and
> make these business classes implement a common interface?
> I have only a vague idea till now about this.Can someone elaborate?

Action classes are always resusable since they can have more than one URL mapped to 
them.  As to what you want to do... I assume you mean struts modules....  Sure you can 
do that.

One of these days I'm going to get around to writing the one uber-business logic pojo. 
 Something like inmplement COR, and use Spring to populate the chain.  Then all I have 
to do is write business rules.

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

Reply via email to