Skip to content

Who Likes Spring MVC?

Who likes Spring MVC out there? Are you using annotation-driven Spring MVC with the 2.5 features? To me all the @RequestMapping annotations just make controller code harder to read. Call me crazy, but I’m out on annotations for doing my Spring configuration. I greatly prefer configuring my beans in common xml files that are easy to view/edit without digging through a bunch of packages / classes.

What drove me to write this post? I saw Craig Walls give a great talk on Spring MVC and Spring Security tonight at the Spring Dallas User Group. He did a good job selling the 2.5 features, but I think he did a better job selling the 2.0 mvc features. I like the idea of using ControllerClassNameHandlerMapping and InternalResourceViewResolver and getting a nice case of convention over configuration. So I guess some good conventions are better then having to go digging through source code for what my annotations are.

If you want more info, check out Craig’s presentation, which you can download from his site.

5 Comments

  1. Tim wrote:

    We’re still using it and the team is very satisfied. We are not doing any of the annotations though, still XML configuration. I still think it is overkill for simpler sites, but the alternatives (JSF, Struts, etc…) are fates worse than death.

    Friday, March 21, 2008 at 6:27 am | Permalink
  2. I love and use Spring every day, but for MVC I am using JPublish. And the two combined are working great for my team. But then again, we are providing support to the Web designers with little or no knowledge about Java; this is where JPublish shines. I am sure that Java developers doing web design (?) are appreciating other frameworks like Spring, Click, Struts, Stripes, you name them. My team however likes to keep it simple and to do our job fast ;)

    -florin

    Friday, March 21, 2008 at 7:03 am | Permalink
  3. Mike Miller wrote:

    Hi Erik,

    I would like to attend of the Spring User Group meetings but am having a hard time figuring out exactly when the group meets. The website doesn’t publish the meeting schedule, (unless I am missing it somehow).

    Monday, March 24, 2008 at 10:43 am | Permalink
  4. Erik Weibust wrote:

    Howdy Mike,

    I’m glad to hear you’re interested in attending our meetings. The Spring Dallas Users Group meets on the 3rd Wednesday of every month. Visit http://www.springdallasug.org/?page_id=72 for directions to our location.

    Erik

    Tuesday, March 25, 2008 at 7:08 am | Permalink
  5. I feel lucky to have found such a wealth of info.

    Michael,

    Wednesday, July 7, 2010 at 11:49 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word