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 contains all the MVC mappings and data.By default the name of file must be XXX-servlet.xml where XXX is the name ...
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 Spring application. Similar to the transaction support, the caching abstraction allows consistent use of various caching solutions with minimal impact ...
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 without "unnecessary abstractions" is refreshing -although version 1.1.2 might bring some of them back- just to mention a few.At the top of the list, I am ...
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 it be the similarities/differences in the projects source code.The article assumes the Reader is a Developer with some familiarity with Spring Roo. For introductory information about Spring ...
I jumped in the Spring Roo wagon since version 1.1.0M1. The first thing I wanted to do after got used to it. It was to try typical requirements that come very often in the work of a Web Developer. I needed a wep app to work on, so I came up with World Alamac by jD. Basically, WorldAlmanac web ...
I've seen very often a recurrent question on Spring Roo forums. The question is "How to configure the application to handle two databases".Certainly this is a more ample question to Spring Roo only, due it involves JPA and the Spring persistence stack. So, I believe it will be of interest to all the Spring development community ...
Working with BLOB / CLOB data types in database is sometime a trivial task. I found particularly when working with Hibernate 3 to store and retrieve BLOB objects we need certain things to be taken care of. Let us see a tutorial where we will using Spring 3 MVC and Hibernate 3 to store and retrieve ...
Let us make a complete end-to-end application using Spring 3.0 MVC as front end technology and Hibernate as backend ORM technology. For this application we will also use Maven for build and dependency management and MySQL as database to persist the data.The application will be a simple Contact Manager app which will allow user to add new contacts. The list of contacts will be ...
Welcome to Part 6 of Spring 3.0 MVC Series. In
previous article we saw how to add Internationalization i18n and Localization L10n support to Spring 3.0 based web application. We used LocaleChangeInterceptor to intercept the change in locale and ReloadableResourceBundleMessageSource class to add message resources properties.In this part we will see how to add Themes in Spring MVC. We will create three different themes ...
Welcome to Part 5 for Spring 3.0 MVC Series. In
previous article we saw how to configure Tiles framework with Spring 3 MVC application. We used org.springframework.web.servlet.view.tiles2.TilesConfigurer class in bean definition to define the tiles configuration file. This divided our HelloWorld Spring MVC application in sections such as header, footer etc.In this part we will discuss about Internationalization (I18N) and Localization (L10N) in Spring ...