jeudi, juin 21, 2007

Spring One (day2) : New features in Spring 2.1




This will be a list of what is described:

Platforms:

  • JDK 1.6 (JDBC 4.0, JMX MXBeans, JDK ServiceLoader API)

  • Java EE 5.0 (Servlet 2.5,JSP 2.1, JSF 1.2, JTA 1.1, JavaMail 1.4,EJB 3.0 session beans,JPA even inside JEE 5.0 server, Deployment as JCA 1.5 RAR file, Websphere integration through specific addons)

  • OSGI support (allows a similar programming model between OSGI or J2EE deployment)



Configuration:

  • JSR 250 Common annotations(now supported by all JDK 1.6 and Java EE 5, and JDK 1.5 with the common annotations jar)

  • @Autowired annotation (fits well between name and type autowiring)

  • "context" configuration namespace (convenient context-relative functionalities)

  • @Component annotation



AspectJ Support:
cf. previous presentation I blogged about.

@Configurable Revisited:
no AspectJ compiler necessary (based on load-time weaving)

JMS Message Listener Containers:
"jms" XML Schema Namespace

JCA 1.5 Namespace also

still to come (not in RC versions):
Junit 4 support and Rhino/javascript support.