  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | -none- | -none- 2007-09-01 - By Adam Hardy
Back Hayrol Reyes Mej?a on 01/09/07 17:41, wrote: > Ok, thanks guys. > > But it's not completely clear for me why to use: Struts2 + Spring2 + > Hibernate3 ... if I can do the same with Struts2 + Hibernate3 avoiding a > layer of possible problems. Maybe it's because I think of a MVC framework > that provide me all the necessary to build the View of the application with > JSP the controler with Actions and Mappings and the interface model with > Hibernate without the need to look away for other solutions parts.
Dependency injection is a major enhancement of any framework that you would only _not_ want if you had a code base with another adequate solution already in place that provides similar functionality.
But Spring plus Hibernate just happens to be the current defacto standard framework combo adopted by most development teams who don't have time to make a new analysis of what's available or play with prototyping their architecture.
Have Struts2 downloads overtaken Struts1? I didn't think so.
Personally I wish I had the time to look into alternatives to Spring. I think all the AOP that's used for the /container/ style operations such as transactions and security are almost as bad as using the goto command in code! So EJB3 perhaps? I just don't have the time to try it out yet.
Regards Adam
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |