• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MVC for spring+hibernate projects

 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I just started learning spring.

Since I have never worked on any project which has spring, I just wanted to know which MVC is commonly used for spring + hibernate project. Is it Spring's MVC or Struts MVC.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm, there's Struts, SpringMVC, Wicket, Stripes, JSF, SEAM all of which are commonly used with Hibernate, plus others that I didn't mention.
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The reason I am asking this is because I know Struts, I have learned hibernate, I have learned everything in Spring except MVC. I am avoiding to learn Spring's MVC because

1) Right now I don't have time to learn it.
2) Since I know struts well and if Struts is more often used with Spring and hibernate ( because Struts is more popular as a MVC framework ), then my efforts learning Spring MVC will go waste.

I have not worked any project on Spring. So I don't know which MVC is used more in Spring projects.
[ December 09, 2008: Message edited by: Sagar Kale ]
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you know struts and don't have time to learn something new then just use struts. Lots of people use Struts with Hibernate. Hibernate really doesn't care what MVC framework you use. Personally, I prefer Stripes for most everything I do. It's enough like Struts that you would be able to pick it up quickly and easily. It has support for Spring as well as an addon package (additional download) called Stripersist to integrate Hibernate/JPA.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sagar Kale - it seems like it would be beneficial to you to learn the Model-View-Controller (MVC) object-oriented design pattern. If you learn and understand the design pattern, then you most likely will understand the implementations much better.

Good luck!
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gregg and James,

Thank you very much for guidance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic