Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training

Learn Features of Spring 3.0

Spring 3.0 is released with major enhancements and support for JDK 5.


Spring 3.2 MVC insert and retrieve blob from the database The hidden tag The errors tag net.roseindia.dao net.roseindia.service net.roseindia.model net.roseindia.controller Spring 3.2 MVC Hibernate Example Spring 3.2 MVC, Upload File in a specific folder Spring 3.2 MVC Form Handling The textarea tag The options tag The option tag The select tag The radiobuttons tag The radiobutton tag The checkboxes tag mvc:default-servlet-handler Static Resources Configuration View Controllers Configuration View resolvers Spring 3.2 MVC Hello World Example Content Negotiation Configuration Interceptors Configuration using Java or XML Customizing the MVC Java config or XML Namespace MVC Java Config or the MVC XML Namespace Servlet container initialization through code Support for ETag The checkbox tag Autogenerated logical view name through RequestToViewNameTranslator Modification in conventional ModelAndView ControllerClassNameHandlerMapping class for handling convention mapping The password tag The input tag The form tag Form Tag library configuration Customizing the Default Error Page @ExceptionHandler & @ResponseStatus annotation Multipart support for file upload in Spring MVC Themes and Theme resolvers in Spring MVC Locales in Spring MVC ContentNegotiatingViewResolver Redirecting and forwarding to views Chaining of Multiple view resolvers View Resolving through ViewResolver interface Requests Intercepting through a HandlerInterceptor Defining handler methods using @RequestMapping annotation Spring 3.2 Asynchronous Request Processing @RequestMapping annotation for mapping requests @Controller annotation for defining new controller

Spring 3.0 Features - Spring 3 new features


The Spring 3 new features:

In this section we will understand the features of Spring 3.0 Framework. The Spring 3.0 Framework is released with the support of Java 5. So, you can use all the latest features of Java 5 with Spring 3 framework.

The first version of Spring Framework was released in the year 2002. And it was developed and released to simplify the development of Enterprise Java applications. Since then it have undergone the major releases Spring 2.0,  Spring 2.5 and now Spring 3.0. The Spring Framework is used by many frameworks. You can use the existing frameworks such as JSF, Struts 2, Flex with Spring DS to quickly develop and deploy large scale enterprise applications. The Spring framework simplifies the development of complex enterprise applications.

The Spring Framework simplifies the development, testing, deployment of the application much easier.

Spring 3 what's new

Let's see what all new features are available in the Spring 3 framework.

Features of Spring 3.0 Framework:

  • Java 5 Support: The core API of Spring 3.0 framework is using JDK 5, so JDK 5 or above is required to run Spring 3.0 based applications. The Spring 3.0 framework provides annotation-based configuration support. JDK 5 features such as generics, annotations and varargs can used in Spring 3.0 Framework based applications. The Spring 3.0 framework is based on JDK 1.5 and it fully supports JDK 6. The Spring 3.0 is fully compatible with the JEE1.4 and EE5.
  • Expression language - Spring Expression Language (SpEL): In this release of Spring framework Expression language support is present. The Spring Expression Language  can be used while defining the XML and Annotation based bean definition.
  • Support for Comprehensive REST Webservices: Spring 3.0 framework supports REST web services.
  • Java EE 6 Support: Spring 3.0 supports many features of JEE 6 such as JAP 2.0 and JSF 2.0.
  • Annotation based formatting support: Spring comes with Annotation based formatting support. For example bean fields can be automatically formatted and converted using different annotations. For example you can use the  @DateFimeFormat(iso=ISO.DATE) and @NumberFormat(style=Style.CURRENCY) annotations to convert the date  and currency formats.
  • New module organization and build system:
    The modules in the Spring 3.0 framework have been revised and it managed separately with one source-tree per module jar:

    * org.springframework.aop
    * org.springframework.beans
    * org.springframework.context
    * org.springframework.expression
    * org.springframework.instrument
    * org.springframework.jdbc
    * org.springframework.jms
    * org.springframework.orm
    * org.springframework.oxm
    * org.springframework.test
    * org.springframework.transaction
    * org.springframework.web
    * org.springframework.web.portlet
    * org.springframework.web.servlet
    * org.springframework.web.struts


In the next section we will download, create a new project in Eclipse IDE, install the library files and then develop a "Hello World" example program.

Download Code


Share on Google+Share on Google+

Learn Features of Spring 3.0

Posted on: January 1, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles



Discuss: Learn Features of Spring 3.0   View All Comments

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
September 9, 2011
Spring Code - Download Error

Not allowing to download the sample code. Error on
November 2, 2011
Review comments1

Can you be a little more elaborate?
November 15, 2011

Given set of steps does not run
Teng Shu-mei
March 26, 2012

learing Spring
Teng Shu-mei
March 26, 2012

Marcelo Labbati
September 28, 2012

Congratulations by your article. I'm beginning now in Spring and like a lot.