Re: Re: Struts2 + EJB 3.0 + Hibernate
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, 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 > 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-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > -- > Emil Thushanga > > -- Emil Thushanga
Antwort: Re: Struts2 + EJB 3.0 + Hibernate
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 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-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Emil Thushanga
Re: Struts2 + EJB 3.0 + Hibernate
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 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-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Emil Thushanga
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-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org