struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Barrows" <>
Subject RE: Action Class Reusable
Date Wed, 01 Sep 2004 15:47:27 GMT

> -----Original Message-----
> From: Jitesh Sinha []
> 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:
For additional commands, e-mail:

View raw message