On 11.1.2011 18:07, Anjib Mulepati wrote: > Can I use JPA with Struts 1? > > If yes is there any good tutorial I can look into? >
I have used it so that I manipulated all JPA objects in a EJB 3.x Session bean, which was called from Structs Actions. Session bean Dependency Injection does not work from Struts 1.x modules, you have to create some kind of a "factory" or other loader for the Session beans. Basically JNDI calls, and very EJB container specific. But Persistence API works then fine in the Session bean. -- You should go home.
signature.asc
Description: OpenPGP digital signature