You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Maurizio Cucchiara <mc...@apache.org> on 2011/08/15 11:27:57 UTC

Re: How to implement EJB 3.0, JPA, Hibernate and Struts 2 in one application?

I think this is a good starting point: http://s.apache.org/jpa
Maurizio Cucchiara



On 15 August 2011 07:05, Coolemma <co...@gmail.com> wrote:
> EJB 3.0, JPA, Hibernate and Struts 2

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: How to implement EJB 3.0, JPA, Hibernate and Struts 2 in one application?

Posted by Marcus Bond <ma...@marcusbond.me.uk>.
Have never tried this out with ejb since it isn't isn't my thing but just
the same as a spring / struts (or any other framework) app your service
layer would be called from your struts actions such that struts isn't likely
to know about or care about the fact that the service  classes are ejb,
spring beans or anything.

Sooo.. each technology you mention has different purposes in your app and
should work together fine, Struts will provide your controllers and  the
actions will reference an ejb service layer with some ejbs using JPA via an
injected entity manager for which the underlying implementation for JPA
would be hibernate.. job done.

In answer to your second question, afaik Seam may be worth a look if you're
after ejb webapps..

 Marcus

-----Original Message-----
From: maurizio.cucchiara@gmail.com [mailto:maurizio.cucchiara@gmail.com] On
Behalf Of Maurizio Cucchiara
Sent: 15 August 2011 10:28
To: Struts Users Mailing List
Subject: Re: How to implement EJB 3.0, JPA, Hibernate and Struts 2 in one
application?

I think this is a good starting point: http://s.apache.org/jpa Maurizio
Cucchiara



On 15 August 2011 07:05, Coolemma <co...@gmail.com> wrote:
> EJB 3.0, JPA, Hibernate and Struts 2

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org