Internationalization is the technique of designing the application to be attuned with different regions or countries where the application needs to be run. Internationalization requires separation of the usage data to be internationalized into properties file. In the Java programming language, internationalization is usually implemented by means of Resource Bundles i.e., a .properties file for …
Archives for January 2011
Spring MVC – Setter Injection Example
Setter Injection Spring IOC container will inject the dependencies using the setter bean class.All the dependencies are declared as the instance variables of the bean class.Here we show a simple Book details example of Setter-Injection. Spring Framework Articles also read: Spring Articles Spring Books Introduction to Spring’s Aspect Oriented Programming(AOP) Life Cycle Management of a …
Spring MVC – DispatcherServlet Example
DispatcherServlet Configuration DispatcherServlet : In Spring’s web MVC framework the mechanism of dispatching the request to the appropriate controllers is achieved by configuring the DispatcherServlet class. DispatcherServlet is the class which manages the entire request handling process.Like a normal servlet DispatcherServlet also needs to be configured in the web deployement Descriptor(web.xml).By default DispatcherServlet will look …