I do. I'm not really a expert on avalon and excalibur, but I just use the Excalibur Servlet I found in the Excalibur package (excalibur-component-servlet-1.1.jar). I use this to control my components with the businesslogic.
Another option when integrating the two is using the PlugIn stuff of struts to startup the container and make it available.
If you want keep things simple and clean I wouldn't go implementing lifecyclesupport in the actions. Better is putting the businesslogic inside Avalon and use the actions as a client of Avalon.
IMHO I think Struts and Avalon are a very nice combination for anyone who wants a good designed webapplication, but no J2EE app.
But the servlet integration or PlugIn facility of struts isn't maybe the best way to get a hold on your Container. You can also choose to make your Avalon Container available thru JNDI. Struts can then get a handle to the Container thru JNDI, but a Swing frontend can as well use the businesslogic the same way as the Struts frontend. I guess you have a lot of freedom in how to incorporate the two.
But keep the two seperated in their use. There should be no businesslogic in the actions. If the businesslogic is only in Avalon, you could even swap Avalon out and replace it with a J2EE server (if your client wants it).
Johan
J Aaron Farr wrote:
Hello.
I know keel has a Struts integrated UI module, but I'm wondering if anyone else has worked on integrating Avalon directly into Struts. I was looking over the code and you could probably get away with just extending the ActionServlet and the RequestProcessor to provide support for Avalon lifecycles in Struts Actions (or at least a decent subset of lifecycles). Of course there'd be a little configuration mess to get around, but doesn't seem impossible. Has anyone else attempted this?
Providing support for Avalon within existing web frameworks would probably be a good thing.
-- Nilling Software Design Postbus 43 2280 AA Rijswijk ZH w: http://www.nilling.nl
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
