The SpringOne 2GX conference (now almost completed) in New Orleans is an excellent opportunity to talk about what has pleased us SpringSource recently and will please us in the near future.
SpringOne 2GX is an annual conference held by SpringSource. Since SpringSource recently became the happy owner of the Groovy and Grails technologies, this year SpringOne and 2Gx decided to merge into one.
Spring 3.0
')
Of course, the main announcement was the
release of version 3.0 of the Spring Framework. The new version contains a number of quite interesting innovations.
- Java 5 . From the current version, the Spring Framework is based on Java 5, with all the ensuing consequences (generics, etc.)
- SpEL - Spring Expression Language - the ability to reference properties of bins and environment variables using expressions like # {...}, not only in XML configurations, but also in annotations
- Stereotypes - using annotations has become even more convenient. Now you can define annotation groups yourself as a new annotation.
- JSR-330 support
- Support JSR-303 Bean Validation.
- REST - the ability to create REST applications is now built into Spring MVC.
- Object / XML Mapping migrated from Spring WebFlow to the Spring kernel. Native support for JAXB 2, Castor. Integration with Spring MVC and Spring JMS.
- Portlet 2.0 support (at the conference, the speaker asked those who use portlets to raise their hands. One hand went up. “So why do we suffer then?” The speaker said).
- Converter and Formatter is an alternative to PropertyEditors.
- Java EE 6 - while JSF 2.0, JPA 2.0, JSR-303, JSR-330 are supported. Other technologies from Java EE 6, such as Servlet 3.0, will be included when they appear in specific products, presumably, for Spring 3.1 / 3.2.
tc Server + Insight
The free SpringSource tcServer -
Developer Edition has been released . For those not in the know, tcServer is a tomcat with commercial support and some additional features, mainly in the area of ​​server management. From the new - for the first time Spring Insight Dashboard was introduced, which gives developers the opportunity to see how the application runs on the server - track calls, collect statistics, sort threads by execution time, and much more. Watch the
video (.mov, English) - impressive. I tried on my product, and was ashamed to optimize and optimize.
SpringSource Tool Suite 2.2.0
STS is a free (but not open) build of Eclipse. The new version includes very handy tools for working with Groovy, Grails, Spring Roo, and CloudFoundry.
Roo
Version 1.0 of
Spring Roo released . If you liked how fast you can start writing an application on Ruby-on-Rails, or Grails, then on Roo it is even faster.
CloudFoundry
In
CloudFoundry (discussed
earlier in Habré), external changes are not very noticeable, except that the launch templates have been added. But now your app can be downloaded to CloudFoundry from STS, Grails and Roo. I noticed: a script of 33 lines on Roo is taken (example of wedding.roo from the delivery set), and after 2 and a half minutes the application is launched on the Amazon cloud and is available to the general public.