Hi. We have a situation where we have a bunch of stateless session beans (a la Session Facade pattern) and a domain model (Java Beans as Value Objects) that encapsulates our business logic.
We want to web-enable this application using WW and JSP views. The WW actions would then perform business actions on the facade beans, and the views and actions would use the value objects to display/modify data. We want each HTTP-request to run under the scope of one transaction in the business layer. This is where I need some advice - how do we best utilize WW to achieve this? We want to use action chaining, so I thought of writing a WWActionExecutioner (Stateless Session EJB) that receive all actions to execute in a request. This bean would have one method - execute(List actions) : String - with transaction attributes set to 'required'. This way each action can perform business calls on different sessions beans under the same transaction. Looking at the codebase (CVS) it looks like this should be doable by "remoting"/wrapping GenericDispatcher as an EJB. The above ought to be a pretty common scenario - so I would appreciate comments, advices etc. :) Best Regards //Anders -- |===================================| | Anders Engström | | [EMAIL PROTECTED] | | http://www.gnejs.net | |===================================| |Your mind is like an umbrella. | |It doesn't work unless you open it.| | /Frank Zappa | |===================================| ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork