Extending View Resolver and Chaining View Resolvers in Spring MVC

spring-thumbnail

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 […]

Spring MVC – Setter Injection Example

spring-thumbnail

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 – Constructor Injection Example

spring-thumbnail

Constructor Injection Spring IOC will inject the dependencies using the constructor.All the dependencies are declared in the constructor. Here we show a simple student details example of Constructor-Injection. We have already published another article on the Spring Constructor Injection. This example provides more details. Spring Framework Articles also read: Spring Articles Spring Books Introduction to […]

Spring MVC – DispatcherServlet Example

spring-thumbnail

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 […]

What is Spring Web Flow (SWF)?

spring-thumbnail

Spring Web Flow is a framework developed on top on Spring Web MVC that aims in capturing the flow of an application so that it is possible for the application developers to design web application based on use-cases in the form of flows. Organization of multiple flow can be easily managed through the definition of […]

Sending and Receiving messages using Spring’s AMQP

spring-thumbnail

Introduction The messaging standards that an application uses for communication varies and Advanced Message Queuing Protocol (ADQP) aims in providing standards with respect to messaging communication like the format of the message, various contracts to be implied, etc. Note that ADQP is just a protocol and it is not tied with any specific technology or […]

How to develop Spring Framework MVC application in NetBeans?

spring-thumbnail

This is a step-by-step guide on how to develop a Spring Framework MVC application from scratch using NetBeans.Spring is basically a technology committed to enabling you to build applications using Plain Old Java Objects (POJOs). It enables you to develop components as POJOs containing only our business logic, while the framework takes care of the […]

Introduction to Spring Web Framework

spring-thumbnail

1) Introduction Today, the Principle of Inversion of Control has gained much popularity and Spring is a Light-Weight Framework that adopts this principle extensively for Building Java or J2ee Applications. In most of the times an Application never wants to gain access to all the services provided by the heavy-weight J2ee Container, but still will […]

Spring MVC Framework with Example

spring-thumbnail

1) Introduction The Spring MVC provides rich functionality for building robust Web Applications and it is available as a separate module in the Distribution. As a pre-requisite, readers are advised to go through the introductory article on Spring Framework Introduction to Spring Framework. The Spring MVC Framework is architected and designed in such a way […]