Introduction I have been developing Java applications for a long time and the major difficulty was the coding part related to database manipulations. Recently I shifted to use Object-Relational Mapping through JPA. I have used TopLink, EclipseLink, and Hibernate. Although I could achieve the functionally I want with ease, the output was slower when compared …
Introduction to Spring Converters and Formatters
Introduction In this article, we will provide introductory details on Spring Converters and Formatters. Converter components are used for converting one type to another type and also to provide a cleaner separation by forcing to place all such conversion related code in one single place. Spring already supports built-in converters for the commonly used types …
Extending View Resolver and Chaining View Resolvers in Spring MVC
In Spring MVC view resolvers help the Dispatcher Servlet in identifying the views which has to be rendered in response for a request. There are lot view resolvers available in Spring framework. For example: InternalResourceViewResolver, ResourceBundleViewResolver, XmlViewResolver etc. If needed, the programmers can have custom view resolvers by extending existing view resolver implementation or implementing …
Introduction to Spring Expression Language (SpEL)
Introduction The article Introduction to Spring Expression Language (SpEL) will provide introductory details in writing expression languages using Spring’s Expression framework. The reader is expected to having a basic understanding on the core concepts of Spring before reading this article (Read: Introduction to Spring Framework). This article explains the usage of Spring’s Expression API for …
Internationalisation(i18n) in GWT Application
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 …
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 …
JSTL Configuration Error
If you are getting the following error while running the JSP 2.0 in Tomcat server. It means the application is missing JSTL jar file. If you add standard.jar and jstl.jar the problem will be solved. also read: Java EE Tutorials Java EE 7 Tutorials Java EE Interview Questions