New Features of Spring Framework 3.2

Spring Framework 3.2 released is with many new features and enhancements. Its final version of the of the Spring Framework 3.2. It recommended that the users of Spring framework 3.1 should now upgrade to version 3.2. Spring Framework 3.2 now supports new improved features of Java SE 7.

Ads

Tutorials   
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
Ads

New Features of Spring Framework 3.2

Spring Framework 3.2 released is with many new features and enhancements. Its final version of the of the Spring Framework 3.2. It recommended that the users of Spring framework 3.1 should now upgrade to version 3.2. Spring Framework 3.2 now supports new improved features of Java SE 7.

New Features and Enhancements in Spring 3.2

Following are the new features and enhancement in Spring 3.2 :

  • Spring 3.2 have asynchronous request processing support based on Servlet 3.0 API

  • In Spring 3.2, a ContentNeogtiationStrategy is available for determining the requested media types of incoming request.

  • The component annotation @ControllerAdvice, detects implementation classes automatically by scanning classpath.

  • For getting matrix variables from the request URI, @MatrixVariable annotation is introduced in Spring 3.2.

  • The AbstractDispatcherServletInitializer class and its sub-class AbstractAnnotationConfigDispatcherServletInitializer is introduced to make code-based registration of a DispatcherServlet and filters less difficult. 

  • The ResponseEntityExceptionHandler class provides method @ExceptionHandler for handling standard Spring MVC exceptions, that returns a ResponseEntity which letting us writing and modifying the response with the help of HTTP message converters.

  • Generic type (For ex. List<Account>) of HTTP response , is now supported by RestTemplate and also in parameters @RequestBody.
  • Some configuration betterments and new classes are added in Spring 3.2 MVC to support Jackson JSON 2 library.

  • In addition to tiles 2.x, Spring 2.3 has now support for Tiles 3. Tiles 3 configuration is very similar to Tiles 2.x configuration.
    In spite of that, tiles dependencies are also modified.

  • Inside @RequestMapping method, an Errors argument is added with an @RequestBody or an @RequestPart argument to manage validation errors produced by @Valid annotation.

  • After Spring 3.2, you can now use HTTP request function PATCH in @RequestMapping functions. Inspite of that you can use PATCH function in RestTemplate with the help of Apache HttpComponents's HttpClient version 4.2 or later.

  • Now, omitting URL patterns is supported by the Mapped interceptors. These options exhibits by the MVC JavaConfig and the MVC namespace.

Advertisements

Ads
Share on Google+Share on Google+

New Features of Spring Framework 3.2

Posted on: December 17, 2012 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: New Features of Spring Framework 3.2  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0

Ads

 

Ads