Tag Archives: Spring MVC

Annotation Based Bean Wiring @Autowired in Spring framework

May 27, 2012

1 Comment

Since Spring 2.5, one of the most interesting ways of wiring beans in Spring has been to use annotations to automatically wire bean properties. Auto wiring with annotations isn’t much different than using the autowire attribute in XML. But it does allow for more fine-grained auto wiring, where you can selectively annotate certain properties for [...]

email

Spring with Apache Velocity

March 9, 2011

0 Comments

Introduction Spring is an open source framework, created by Rod Johnson. We can develop many kinds of applications using Springwhich includes basic java programs and enterprise applications. Any Java application can benefit from Spring in terms of simplicity, testability, and loose coupling. Spring supports integration with Struts, WebWork, Apache velocity , Hibernate, JDO, TopLink, EJB, [...]

Introduction to Spring Converters and Formatters

February 18, 2011

1 Comment

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 ViewResolver and Chaining ViewResolvers in Spring MVC

February 15, 2011

0 Comments

Introduction 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 [...]

Introduction to Spring Web Flow (SWF)

October 6, 2010

6 Comments

Introduction 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 [...]

Sending and Receiving messages using Spring’s AMQP

September 16, 2010

1 Comment

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?

November 24, 2008

0 Comments

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

August 3, 2007

34 Comments

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

June 23, 2007

48 Comments

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