You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by vikrant S <sh...@gmail.com> on 2009/11/26 07:08:58 UTC

Struts2 + EJB 3.0 + Hibernate

Is It a good idea to build a project using the combination Struts2 + EJB 3.0
+ Hibernate using MVC architecture. Guys please share ur opinion
-- 
View this message in context: http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Re: Struts2 + EJB 3.0 + Hibernate

Posted by emil thushanga <th...@gmail.com>.
Ya thats true, but its not clean such as the way used in spring, or JSF
managed beans. lookup service  is a another dependency for your project.

Emil

On Thu, Nov 26, 2009 at 1:24 PM, <jh...@statistik-hessen.de> wrote:

> Why is it a challenge accessing EJB in Struts2? All you need to do is to
> lookup your local or remote EJB interface, which is in fact 1 line of
> code.
> Joachim
>
>
>
> Struts2 is good for your presentation layer. It is the MVC front
> controller.
> Accessing EJB is a kind of a challenge inside Struts2 rather than spring.
> Struts2 + spring + hibernate will be a good combination if it is suitable
> for your problem domain.
>
> Emil
>
> On Thu, Nov 26, 2009 at 12:08 PM, vikrant S
> <sh...@gmail.com>wrote:
>
> >
> > Is It a good idea to build a project using the combination Struts2 + EJB
> > 3.0
> > + Hibernate using MVC architecture. Guys please share ur opinion
> > --
> > View this message in context:
> >
>
> http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html
>
> > Sent from the Struts - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> Emil Thushanga
>
>


-- 
Emil Thushanga

Antwort: Re: Struts2 + EJB 3.0 + Hibernate

Posted by jh...@statistik-hessen.de.
Why is it a challenge accessing EJB in Struts2? All you need to do is to 
lookup your local or remote EJB interface, which is in fact 1 line of 
code.
Joachim



Struts2 is good for your presentation layer. It is the MVC front 
controller.
Accessing EJB is a kind of a challenge inside Struts2 rather than spring.
Struts2 + spring + hibernate will be a good combination if it is suitable
for your problem domain.

Emil

On Thu, Nov 26, 2009 at 12:08 PM, vikrant S 
<sh...@gmail.com>wrote:

>
> Is It a good idea to build a project using the combination Struts2 + EJB
> 3.0
> + Hibernate using MVC architecture. Guys please share ur opinion
> --
> View this message in context:
> 
http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html

> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Emil Thushanga


Re: Struts2 + EJB 3.0 + Hibernate

Posted by emil thushanga <th...@gmail.com>.
Struts2 is good for your presentation layer. It is the MVC front controller.
Accessing EJB is a kind of a challenge inside Struts2 rather than spring.
Struts2 + spring + hibernate will be a good combination if it is suitable
for your problem domain.

Emil

On Thu, Nov 26, 2009 at 12:08 PM, vikrant S <sh...@gmail.com>wrote:

>
> Is It a good idea to build a project using the combination Struts2 + EJB
> 3.0
> + Hibernate using MVC architecture. Guys please share ur opinion
> --
> View this message in context:
> http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Emil Thushanga