Struts2 with JPA/Hibernate using Spring

2008-08-27 Thread Håkan Jacobsson
Hi, I have a Struts2 web application. I'm using Spring (for autowiring of dependency injection) to integrate JPA and Hibernate in the web app. It's working fine. Now I need to separate the JPA/Hibernate classes into a separate jar file (the web app will have this jar file as a dependency). How

RE: Struts2 with JPA/Hibernate using Spring

2008-08-27 Thread Martin Gainty
ate: Wed, 27 Aug 2008 20:29:59 +0200 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Struts2 with JPA/Hibernate using Spring > > Hi, > > I have a Struts2 web application. I'm using Spring (for autowiring of > dependency injection) to integrate

Re: Struts2 with JPA/Hibernate using Spring

2008-08-28 Thread Edwin Quita
you can create a separate project for your pesistence layer and another project for the view. you then add the persistence layer project as a dependecy to other projects. i have here an example although this one didn't use JPA, i just used Spring's JdbcTemplate for persistence. http://edwin.quit

Ang: RE: Struts2 with JPA/Hibernate using Spring

2008-08-27 Thread Håkan Jacobsson
[EMAIL PROTECTED] >Datum: 2008/08/27 21:34 >Till: "Struts Users Mailing List" >Ärende: RE: Struts2 with JPA/Hibernate using Spring > > >the JPA package structure would look like: >WEB-INF/classes/package/persistence/*.class >WEB-INF/classes/META-INF/persistence.xml >

RE: RE: Struts2 with JPA/Hibernate using Spring

2008-08-27 Thread Deepak Kumar
[EMAIL PROTECTED] >Datum: 2008/08/27 21:34 >Till: "Struts Users Mailing List" >Ärende: RE: Struts2 with JPA/Hibernate using Spring > > >the JPA package structure would look like: >WEB-INF/classes/package/persistence/*.class >WEB-INF/classes/META-INF/persistence.xml >