struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Bond" <mar...@marcusbond.me.uk>
Subject RE: How to implement EJB 3.0, JPA, Hibernate and Struts 2 in one application?
Date Mon, 15 Aug 2011 15:35:19 GMT
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 <coolemma2007@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


Mime
View raw message