• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why to integrate Struts-Spring-Hibernate ?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Pros,

I have seen many real time projects using integrated Struts MVC, Spring IOC and AOP, Hibernate ORM.

I can understand, the use of Hibernate for persistent layer, but I am wondering why to use Struts if we have Spring's own MVC ?

Anybody ?


Thanks in Advance,
Abhijit Salunkhe


 
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe, they have expertise in Struts.
 
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Or maybe they think that Struts is better than Spring MVC.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joachim Rohde wrote:Or maybe they think that Struts is better than Spring MVC.


Which is wrong .
 
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For one thing, Spring MVC != Spring IOC/AOP. So using Spring IOC/AOP in business tier doesn't automatically suggest Spring MVC in web tier. This question basically trying to compare Struts 2 with Spring MVC which is better left to experts of both frameworks.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also maybe their app was already done in Struts, and they wanted to clean up their middle tier with Spring. Or maybe they started the app before Spring MVC was mature enough and chose Struts.

There are lots of valid reasons, and one answer in this case isn't necessarily right or wrong.

Mark
 
reply
    Bookmark Topic Watch Topic
  • New Topic