This is one of the founding principles that we put into JCatapult. It
uses Guice, which is pretty good for DI and Hibernate for JPA. JCatapult
uses a Filter to implement open session in view using Guice and it works
well. An interceptor could work for Struts only applications as well.
http://jcatapult.org
-bp
nicolas de loof wrote:
Hello,
I' just looked at jBoss Seam documentation. I wonder if anyone allready
suggested to have similar features on Struts actions, that seems not so
difficult to implement, by mixing an OpenSessionInView interceptor, some
ModelDriven elements and injecting a JPA EntityManager in the action.
As Seams is now promoted as a JSR (299), this could be nice to have Struts
as an alternative implementation.
Nico.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]