This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Spring and the fly likes Spring MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring MVC" Watch "Spring MVC" New topic

Spring MVC

Amit kull
Ranch Hand

Joined: Jun 05, 2008
Posts: 46
Hi Craig,
I have been using Spring for quite some time now. However, even though I know it, I haven't used Spring MVC.
I am considering going with Spring MVC for a 'small' project (2 people 1 month).
Can you suggest - with your insights about learning curve - if is worth studying the new MVC (annotations, etc) or should I go ahead with old one. What are major changes besides annotations and does Spring MVC it have as good support as struts2?
Dave Klein
Ranch Hand

Joined: Aug 29, 2007
Posts: 77
Hi Amit,

I'm not Craig and I know this isn't what you were asking, but one of the easiest ways to use Spring MVC is with Grails. The power of Spring MVC (and other Spring goodness) without all the complexity.

Take a look at :

Author of Grails: A Quick-Start Guide
Craig Walls
Ranch Hand

Joined: Sep 19, 2003
Posts: 335
I'm going to agree with Dave about Grails (btw...hi there Dave!) and add one better: Spring Roo is a great way to learn Spring. Let Roo produce code for you, then study it to see what Roo did.

I wouldn't bother learning the old Spring MVC at all...unless you absolutely must (because you're on a project that uses it, let's say). The annotation approach is so much better and more flexible...and much easier to write tests for.

Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
Amit kull
Ranch Hand

Joined: Jun 05, 2008
Posts: 46
Dave and Craig,
Thanks for the answers.
I agree. Here's the link:
subject: Spring MVC
It's not a secret anymore!