November 06, 2007

Spring Framework upgrade set for November 19

Improvements include greater use of annotations and metadata, though some older versions of Java will no longer be supported as the platform progresses

Technologists building the Spring Framework for Java application development are mapping out improvements to the platform as well as determining which versions of Java will no longer be supported by upgrades to the framework.

Version 2.5 of the open-source framework for is set for release on November 19. Key improvements include greater use of annotations and metadata. The metadata is information that supplements Java code by providing extra information that can tell the Spring container how to process a class or a method.

"Many of the new features in Spring 2.5 concern really making extensive use of the new language features in Java 5 and also Java 6," said Rod Johnson, founder of the framework and CEO of Interface21. Java 5 features, for example, more options to add metadata inside Java source code, he said.

With version 2.5, greater use of annotations is offered for configurations. Also, developers with version 2.5 can define components using XML outside Java or define components using source-level metadata, Johnson said. By maintaining metadata outside of Java, developers can change the configuration of an application without recompiling Java code.

Spring 2.5 drops support for J2EE (Java 2 Enterprise Edition) 1.3 version of Java, leaving support for J2EE 1.4 as well as Java standard editions 5 and Java 6.

"Basically, we found we didn't have many users left on 1.3, and, of course, they could continue to use Spring 2," Johnson said.

With the planned Spring 3.0 release, support probably will be dropped for J2EE 1.4. But there is no timeframe yet for releasing of Spring 3.0 and Spring's developers take backward compatibility and user migration seriously, Johnson stressed. Version 3.0 will not be released until the great majority of Spring users want to move off of J2EE 1.4, he said.

The decision to drop support for some older Java versions did not upset prominent Java developer Rick Ross, founder of the Javalobby developer community and DZone, which oversees Javalobby. Ross, a user of Spring, said he was not clear why some firms continue to deploy on "seriously obsolete versions" of Java, other than to be conservative.

"Rod Johnson knows who his users are and I know he wouldn't leave them up a creek without a paddle," Ross said.

As part of its Java 6-based improvements, Spring 2.5 offers improved JDBC (Java Database Connectivity) support. "There is better exception handling [for errors] and Spring can take advantage of those new capabilities," Johnson said.

Spring 2.5 also offers additional XML namespaces, for extending an XML document. Another feature is improved integration with IBM's WebSphere 6.1 application server. Improvements in Spring MVC (Model View Controller), meanwhile, make it easier to configure. MVC deals with HTTP requests.

Paul Krill is an editor at large at InfoWorld.
Close

On Twitter now

Application development

Powered by Twitter

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2009 Infoworld, Inc.