Spring 3.0 released

Source: Internet
Author: User

Main new features:

  • Based on Java 5-The core API uses Java 5 features, such as generics and annotations. Therefore, spring 3.0 requires Java 5 or later.
  • Spring Expression Language (spel)-Similar to the Unified Expression Language (uniied El) in JSF, it is very easy to construct complex expressions.
  • Support annotation-based components-Some features of spring javaconfig have been transplanted to the core framework, such as @ configuration, @ bean, and @ dependson.
  • Declarative model verification using constraints Annotation-Added support for JSR 303. Now we can add validation rules for beans using annotations such as @ notnull and @ max (23.
  • Spring MVC fully supports rest-Added support for building restful servers and clients.
  • Support for Java EE 6-Supports many Java EE 6 features, such as JPA 2.0 and JSF 2.0, and can run in non-ee 6 containers such as Tomcat and J2EE 1.4.
  • Support for JSR 330-Currently, javax. Inject annotations introduced by JSR 330 are supported.
  • Annotation-based formatting-Annotations can be used to automatically format and convert bean attributes, such as @ datefimeformat (ISO = ISO. Date) and @ numberformat (style = style. Currency ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.