File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes struts --> Spring + Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "struts --> Spring + Hibernate" Watch "struts --> Spring + Hibernate" New topic
Author

struts --> Spring + Hibernate

ben oliver
Ranch Hand

Joined: Mar 28, 2006
Posts: 356
Given a struts application including various JSP, form beans, and actions. Is it feasible to convert it into a "struts + Spring + hibernate" application ?
what in my mind is --- I use spring light weight frame as a general middle layer framework, keep the JSP stuff untouched, make those actions extend "Action" and modify those .xml descriptor files, if we don't use any Hibernate I guess that's the only change we need, do I miss anything ?

If I want to add Hibernate then I need create those Hbernate related xml, call hibernate API from the Action classes, basically that's it. Right ?
Jagmohan Negi
Greenhorn

Joined: Aug 24, 2005
Posts: 27
yes , If you use hibernate you have use plugin and various POJO objects and xml files only.
 
 
subject: struts --> Spring + Hibernate
 
Threads others viewed
Spring, in Spring-Struts-Hibernate application
Struts Action and Business layer - Thread safe?
Struts 2 in Action
Spring & Struts
Struts Spring Integration
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com