Spring Java Configuration Moving Ahead

Engineering | Rod Johnson | November 05, 2007 | ...

Several users have asked whether we are committed to Spring Java Configuration, and how it sits with the annotation configuration option introduced in Spring 2.5. The answer is yes, we are committed to Java Config; and these two approaches are not mutually exclusive.

These two configuration approaches are quite different: the @Autowired annotation in the Spring Framework configures components using annotations in business objects, while Spring Java Config takes a unique approach of externalizing the annotations in dedicated configuration classes. Neither of these approaches is uniquely right…

Spring LDAP 1.2 Released

Releases | Mattias Arthursson | October 31, 2007 | ...

Dear Spring Community,

We are pleased to announce the release of Spring LDAP version 1.2. This is a major release that introduces a number of features and bugfixes.

            Download | ChangeLog | Documentation (HTML) | Documentation (PDF) | API

A summary of the more important changes:

  • Java 5 Generics support is now provided with the SimpleLdapTemplate and ParameterizedContextMapper classes.
  • Client-side LDAP transactions.
  • Several additional API methods, simplifying a number of common tasks.

About Spring LDAP
Spring LDAP is a Java library for simplifying LDAP operations, based on the pattern of Spring's JdbcTemplate. The framework relieves the user of the burden of looking up and closing contexts, looping through NamingEnumerations, encoding/decoding values and filters, and more.

The LdapTemplate class encapsulates all the plumbing work involved in traditional LDAP programming, such as creating, looping through NamingEnumerations, handling Exceptions and cleaning up resources. This leaves the programmer to handle the important stuff - where to find data (DNs and Filters) and what do do with it (map to and from domain objects, bind, modify, unbind, etc.), in the same way that JdbcTemplate relieves the programmer of all but the actual SQL and how the data maps to the domain model.

In addition to this, Spring LDAP provides Exception translation from NamingExceptions to a mirrored, unchecked Exception hirearchy, as well as several utilities for working with filters, LDAP paths and Attributes.

Spring-LDAP requires J2SE 1.4 for running. J2SE 1.4 and javacc is required for building the distribution binaries from sources. J2EE 1.4 (Servlet 2.3, JSP 1.2) is required for running the example.

Where to start
Download the distribution from the link above. The distribution contains extensive JavaDoc documentation as well as full reference documentation and a sample application illustrating different ways to use Spring LDAP.

Home
The permanent home of Spring LDAP is at http://www.springframework.org/ldap.

Mattias Arthursson & Ulrik Sandberg, Spring LDAP Project Team

Spring 2.5 RC1 is here - introducing new configuration approaches

Engineering | Juergen Hoeller | October 24, 2007 | ...

As some of you will have noticed already, Spring 2.5 RC1 has finally been released on Monday and is waiting for you to give it a test drive! Spring 2.5 is in many ways the release that completes Spring 2.0's mission: providing the most flexible and most comprehensive configuration model for both Java 1.4 and Java 5. Spring 2.5 focuses on particularly comprehensive support for Java 5, introducing various further annotations options. I'd like to take the opportunity to point out the unifying themes behind this release:

Spring 2.5 allows for convenient externalized configuration while also keeping it as concise as possible. This is building on Spring 2.0's support for XML schema namespaces, with Spring 2.5 introducing new "context" and "jms" configuration namespaces. The latter is a particularly good example for the value-add that a Spring configuration namespace can provide - definitely worth adopting if you're using Spring 2.0 style message-driven objects! Additionally, Spring allows for programmatic bootstrap with no XML involved as well

Spring Framework 2.5 RC1 released

Releases | Adrian Colyer | October 23, 2007 | ...

Dear Spring community,

I'm pleased to announce that the first Spring Framework 2.5 release candidate is available! Spring 2.5 is the culmination of the effort that started as Spring 2.1 milestones, enhancing Spring 2.0 with many new features, such as:

  • full Java 6 and Java EE 5 support (JDBC 4.0, JTA 1.1, JavaMail 1.4, JAX-WS 2.0, etc)  
  • full-featured annotation-driven dependency injection (including support for 'qualifiers') 
  • support for component scanning in the classpath (autodetecting annotated classes) 
  • bean name pointcut element in AspectJ pointcut expressions 
  • built-in support for for AspectJ load-time weaving (based on the LoadTimeWeaver abstraction) 
  • further XML configuration namespaces ("context", "jms") for maximum convenience 
  • completely revised framework for integration tests (with support for JUnit 4 and TestNG)
  • new annotation-based controller style for Servlet MVC and Portlet MVC
  • extended SimpleJdbcTemplate functionality (support for named parameters etc) 
  • officially certified WebSphere support (support for the WebSphere 6 UOWManager facility) 
  • Spring framework jars are shipped as OSGi-compliant bundles out of the box
  • Spring ApplicationContext can be deployed as JCA RAR file (for headless application modules) 
  • JCA 1.5 message endpoint management (for Spring-managed JMS and CCI message listeners)

Spring 2.5 RC1 Released

Download | Documentation | Changelog 

Particularly worth mentioning are the annotation-based MVC controller style, the JAX-WS support and the TestNG support, all of which are introduced in this release. Furthermore, this release comes in three different distributions, introducing a minimal standard zip and an intermediate with-docs zip.

We recommend upgrading to Spring 2.5 from all previous 2.0.x versions, in order to benefit from the new features as well as from the significant performance enhancements that Spring 2.5 has to offer. Spring 2.5 is designed as a drop-in replacement for Spring 2.0, except for the slightly restructured jar file contents (see the readme file in the distribution).

Note that Spring 2.5 is still compatible with JDK 1.4.2+ and J2EE 1.3+. Java 1.4 users, for example on WebLogic 8.1 or WebSphere 5.1/6.0, are very welcome to upgrade to Spring 2.5 as well! We recommend putting the backport-util-concurrent jar on the classpath when running on Java 1.4, which allows Spring (and hence your applications) to benefit from significant concurrency enhancements.

Juergen Hoeller
Interface21
http://www.interface21.com

The Spring Tool Suite

Engineering | Adrian Colyer | October 16, 2007 | ...

You may have seen some of the recent press surrounding the announcement that Interface21 is partnering with Tasktop to create a "Spring Tool Suite". This suite will bring together Spring IDE, the AspectJ Development Tools (AJDT), AspectJ, and Mylyn to create a task-focused approach to the development of Spring-powered enterprise applications. We hope to have a preview of the integrated suite available to share with you at the forthcoming The Spring Experience conference, but in the meantime you'll see many of the improvements flowing into the existing Spring IDE, AJDT, AspectJ, and Mylyn open…

Gartner Nails It on Innovation and Disruption

Engineering | Neelan Choksi | October 12, 2007 | ...

At last month's Gartner Open Source conference, analysts declared that open source had permeated a significant amount of the global software market. The details were highlighted in a recent Matt Asay blog that quotes the eWeek article. eWeek writes: “open-source products accounted for a 13 percent share of the $92.7 billion software market in 2006, but should account for 27 percent of the market in 2011 when revenue is expected to be $169.2 billion.”

At the same time, Gartner analysts Massimo Pezzini and Yefim Natis have published a report highlighting an important vein of disruption currently underway in the middleware and transaction processing markets. The September 24, 2007 report, titled “Trends in Platform Middleware: Disruption is in Sight,” highlights more than a dozen trends that “will disrupt the apparently static application server and transaction processing markets” and warns that…

Spring Web Flow 1.0.5 Released

Releases | Keith Donald | October 04, 2007 | ...

Dear Spring Community,

We are pleased to announce that Spring Web Flow 1.0.5 has been released.  This is a bugfix and minor improvement release addressing all issues reported against 1.0.4.  We recommend users upgrade to 1.0.5 from previous 1.0.x versions.

 

Spring Web Flow is a next generation Java web application controller framework.  The framework provides a powerful system for implementing navigation logic and managing application state consistently across a variety of environments.

Related Web Flow News 

Work on Spring Web Flow 2.0 continues, with the next 2.0 release milestone (M2) due out October 30th. 

Interface21 has an full-time position open in Melbourne, Florida on their Web Application Development Products Team, the team responsible for sustaining the development of Spring MVC, Spring Web Flow, and emerging Spring Web technologies.  Experienced web application developers able to work in Melbourne, FL are encouraged to apply.

Working with Spring Web Flow, the definitive guide to Spring Web Flow 1.0, has been published by Erwin Vervaet, founder and co-lead of the project. 

 

Spring Framework 2.0.7 Released

Releases | Juergen Hoeller | October 01, 2007 | ...

Dear Spring community,

I'm pleased to announce that Spring 2.0.7 has been released.

Spring 2.0.7 is a bug fix and minor enhancement release in the Spring 2.0 series, addressing all issues reported since 2.0.6 and backporting various refinements from 2.1 M4.

Spring 2.0 Released

 

Please see the changelog and JIRA roadmap for all the details of the issues addressed in this release.

Juergen Hoeller
Lead, Spring Framework Development
Interface21 - http://www.interface21.com

 

Our approach to the JCP

Engineering | Rod Johnson | September 30, 2007 | ...

As I've posted before, Interface21 is getting involved with the Java EE 6 effort, and various of our folk including myself, Juergen Hoeller, Keith Donald and Rob Harrop will be involved in a number of expert groups.

This means that we're getting more involved with the JCP in general. We respect the confidentiality and other provisions of the JCP, so we won't talk about anything that isn't public. However, I would like to talk about our goals for JCP involvement and the fundamental approach we will bring. Of course we are just one company among many companies and individuals, so we will just be…

Spring Batch 1.0 M2 Released

Releases | Dave Syer | September 27, 2007 | ...

We are pleased to announce that Spring Batch 1.0 M2 has been released! This milestone release introduces:

  • A set of Core APIs that can be used for configuring and building batch applications.
  • An execution environment and utilities for managing and monitoring multi-step jobs in a single virtual machine.
  • Packaging the framework into three pieces: infrastructure, core and execution.
More details on the features of this release and plans for the future can be found on the website (http://static.springframework.org/spring-batch, http://static.springframework.org/spring-batch/features.html).

We expect at…

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all