java personal

Keith Donald Delivers Great Spring Web Products Talk…

Last night the Spring Dallas User Group was lucky enough to convince Keith Donald to fly up and talk to us about the Spring Web products (Spring MVC, Spring Web Flow, Spring JavaScript, and Spring Faces). A large chunk of Keith’s talk was on annotation-based Spring MVC along with the Spring JavaScript product. Both looked great! Between Keith’s talk last night and Craig Walls’ talk last month, I think I’m ready start doing all my Spring MVC development via annotations.

Of course, I’ll need to spend some time getting up-to-speed on all the convention over configuration rules that are available. Thank God, that the SpringFramework has top-notch documentation, or I wouldn’t be able to figure out all the convention rules/options. (That was one of my main mental roadblocks that kept me away until now)

Keith also spent some time last night showing off Spring Web Flow, which is a great DSL for defining stateful web flows inside a Spring MVC webapp. Keith wrapped up with a very quick demo of Spring Faces. I’m sure JSF people will find value in that product, but I’ll stay with Spring MVC.

Keith’s talk was based on the samples that go with the new Spring Web Flow 2 release.


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.