Win a copy of Learn Java with Math: Using Fun Projects and Games this week in the Beginning Java forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

MVC for spring+hibernate projects

 
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.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • 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
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • 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.
 
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.
 
What are you doing? You are supposed to be reading this tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!