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.cucchi...@gmail.com [mailto:maurizio.cucchi...@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 <coolemma2...@gmail.com> wrote:
> EJB 3.0, JPA, Hibernate and Struts 2

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



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

Reply via email to