Spring Tutorials, Tips & Tricks

Sometimes Spring MVC will amaze you with totally unexpected exceptions. You have no idea why that is coming. For instance, recently I wrote a small piece of Spring MVC Controller code, one like below:...

Spring MVC provides powerful way to manage form inputs. It also provides form validation functionality which is easy to integrate in any application. But other than the normal form bean mapping, recently I had...

Welcome to Freemarker Tutorial Series. In previous post we created Servlet based Hello World Freemarker Template example. We learned few APIs of freemarker and also how to integrate it with Servlet based application. Following...

The first thing that we do when we want to implement Spring MVC in our project is to add DispatcherServlets entry in deployment descriptor (web.xml). Also we write a spring web configuration xxxx-servlet.xml which...

Spring 3.1 M1 is out with some very useful features. One of the coolest feature in the latest release is comprehensive Caching support! Spring Framework provides support for transparently adding caching into an existing...

There are many features that I like from Spring Roo: The shell is very effective for constructing projects -with a helpful tab completion- Round-trip is essential to keep the code in sync Code generation...

After reading the excellent article titled Saving/Retreving BLOB object in Spring MVC/Hibernate immediately came to my mind: How would it be the process of recreating the same example but using Spring Roo. What would...