Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2.0 and Spring!!

 
Tom Rader
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am developing a product. I want to use Struts 2.0 with hibernate. One of my friend told me that If I am using Struts 2.0 I should also use Spring!!!

Should I use spring If yes then please specify the reason also.

Regards,
Tom
 
Joe Harry
Ranch Hand
Posts: 10123
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is not that if you use Struts 2.0 you should use Spring. In general Spring is considered to be used as a candidate wherein the objects that your application would need and their dependencies are managed with ease provided the richness of building a transactional, distributed computing is easily achieved using Spring. Spring offers very good integration with some well known and widely used frameworks like Hibernate, Struts, EJB, JSF and many more. What this integration mean is that you get to use those frameworks also with ease by letting Spring control them.
 
Joe Harry
Ranch Hand
Posts: 10123
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So in my opinion, you should definitely use Spring.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic