The Spring Blog

Engineering
Releases
News and Events

Spring 2.0 Release Candidate 4 Released

We are pleased to announce that Spring 2.0 RC4 has been released.  Download | Documentation | Changelog

This is the last release candidate before Spring 2.0 final.  RC4 includes many further bug fixes and refinements in various areas, as well as minor new features (for example in the JMS support). Please see the changelog and JIRA issue list for all the details.  The most notable changes include…

New and Noteworthy

  • This release introduces versioned file names for the 2.0 DTD and XSDs. Please adapt your bean definition files if they build on the 2.0 XSDs on or 2.0-specific DTD features.  For example:
Read more...

Spring LDAP 1.1 Released

Dear Spring Community,

We are pleased to announce that Spring LDAP version 1.1 has been released. This is the first release of the library as a Spring Framework sub project. Download | Documentation | API

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.

Read more...

Spring 2.0 Release Candidate 3 Released

Dear Spring community,

We are pleased to announce that Spring 2.0 RC3 has been released.  Download | Documentation | Changelog

This third release candidate includes many refinements based on valuable user feedback that we received for the previous release candidates.  With this release, Spring 2.0 final is now just around the corner.

The most significant refinements include:

  • Spring 1.2 compatibility has been restored for default-lazy-init="true", with respect to detection of special beans (such as PropertyPlaceholderConfigurers) by type. Alongside, lazy class loading has been reworked to allow for placeholders in class names etc. Strict lazy class loading can still be enforced for special ApplicationContexts.
Read more...

Spring 2.0 RC2 Released

Dear Spring community,

We are pleased to announce that Spring 2.0 RC2 has been released.  Download | Documentation | Changelog

This is the second release candidate on the way to Spring 2.0 final. It introduces a number of bug fixes and minor refinements, in particular in the AOP framework and in the JPA support. Please see the changelog for details. A number of further known issues will be addressed in the upcoming 2.0 RC3 release; see our JIRA road map for details.

Please give this release a try with your applications and let us know about any problems that you might encounter! It is important to emphasize that Spring 2.0 provides backwards compatability with the Spring 1.x series.  Spring 2.0 also continues to support JDK 1.3+ and J2EE 1.3+ (even J2EE 1.2+ except for the JSP tags and the EJB support). Compatability is critically important to our user base and we are committed to providing it. Hence, we’re also interested in learning about potential compatibility issues on any such platform.

Read more...

Spring Web Flow 1.0 RC3 Released

 

Dear Spring Community,

We are pleased to announce that Spring Web Flow (SWF) 1.0 RC3 (Release Candidate 3) has been released.  Download | Documentation | Changelog

This stable release contains bug fixes and minor improvements.   At this time we expect this to be the last release candidate before Spring Web Flow 1.0 final, which is just around the corner.  The noteworthy include…

NOTEWORTHY IMPROVEMENTS

Improved flow exception hierarchy.  Overall the exception hierarchy now more clearly organizes the categories of failure from flow definition access (FlowLocatorException) to runtime flow execution (FlowExecutionException) and execution persistence (FlowExecutionRepositoryException).

Read more...

Spring 2.0 RC1 Released

Dear Spring community,

We are pleased to announce that Spring 2.0 RC1 has been released.  Download | Documentation | Changelog

This is the first release candidate for Spring 2.0 after five milestone releases over the last six months. This stable release is waiting for broad user feedback on the way towards 2.0 final, targeted for early July.

The major new themes of Spring 2.0 are:

  1. Simplified Configuration - you will find you write much less code overall to configuration your applications.  The code you do write is high-level and domain-specific, benefiting from smart defaults as well as rich validation and tool support.

  2. Powerful AOP Unification - you may apply aspects that weave custom behavior before, after, and around your objects concisely with AspectJ while still benefiting from the simplicity of the Spring AOP runtime.

  3. JSR 220 Java Persistence Archtecture (JPA) - to provide you choice in persistence provider implementation.  Spring is the first to support JPA in both JEE and JSE environments with full portability between the two.

  4. Asynchronous JMS Messaging - Message-Driven POJOs bring you lightweight asynchronous components for JSE environments with the choice of JMS provider.

  5. JSR-168 Portlets - Spring Portlet MVC delivers a framework for developing JSR 168 portlets which includes integration with Spring Web Flow for orchestrating user interactions.
Read more...

Spring Web Services 1.0 M1 Released

Dear Spring community,

I'm pleased to announce that Spring Web Services 1.0 M1 has been released. Download | Documentation | Changelog

This release is the first milestone of Spring-WS: a product of the Spring community focused on creating document-driven Web services.

Spring-WS 1.0 M1 includes:


  • A streaming SOAP message model based on Apache Axiom,

  • WS-Security support that integrates with Acegi,

  • JAXB 2.0 marshaller support,

  • Many further improvements and fixes for issues discovered since 0.9.1.

See the changelog for details.

Read more...

Spring Web Flow 1.0

 

Product Leads
Keith Donald, SpringSource
Erwin Vervaet, Ervacon
 
Spring Web Flow is a next generation Java web application controller framework that allows developers to model user actions as high-level modules called flows that are runnable in any environment.  The framework delivers improved productivity and testability while providing a strong solution to enforcing navigation rules and managing application state.  

The Big Picture

Spring Web Flow allows developers to build reusable, self-contained controller modules called flows. A flow defines a user dialog that responds to user events to drive the execution of application code to complete a business goal.  Consider this graphical view of a flow definition that carries out a search process with the user:
Seach Flow 
Flows such as the one above are defined declaratively using a rich domain-specific language (DSL).  The XML (XSD) form of this language is the most popular with users.  Once defined, a flow is testable in isolation, may be embedded within other flows as a subflow, and may be deployed for execution across multiple environments including Java EE Servlet and Portlet (JSR 168) without change.

Product Highlights

Spring Web Flow contains a number of innovative features that are popular with our users. These include the ability to:
  • Define all controller logic for an application task, such as a search process, in one place, instead of scattering that logic across many places.
  • Compose flows together to create rich controller modules from simple parts.
  • Enforce strict user navigation rules with a natural, object-oriented linear programming model and without coding verbose if/else blocks.
  • Have memory you allocate during flow execution automatically clean itself up when execution ends or expires.
  • Deploy a flow for execution in a Servlet environment using your base web framework of choice.  Spring Web Flow ships convenient integration with leading web frameworks Struts, Spring MVC, and Java Server Faces.
  • Change Web frameworks, going from Struts to Spring MVC for example, without changing your flow definitions.
  • Change environments all together, going from JUnit test to Portlet for example, without changing your flow definitions.
  • Evolve your application’s navigation rules on-the-fly at development time without a container restart.
  • Receive automatic browser button support (back, forward, refresh) with no custom coding.
  • Store task data in any of four managed scopes: request, flash, flow, and conversation; each with their own distinct semantics.
  • Test flows in isolation without the container.  Ensure your application control logic works before you deploy.
  • Visualize and edit your flow navigation logic graphically with Spring IDE 2.0.

Getting Started

The best way to get started with Spring Web Flow is read Erwin’s practical introduction and to walk through the sample applications.  We recommend reviewing all samples, supplementing with reference manual material as needed from the start. Ten sample applications ship with the release, each demonstrating a distinct set of features.  The samples are:
  1. Phonebook - the original sample demonstrating most features (including subflows)
  2. Sellitem - demonstrates a wizard with conditional transitions, flow execution redirects, custom text field formatting, and continuations
  3. Flowlauncher - demonstrates all the possible ways to launch and resume flows
  4. Itemlist - demonstrates REST-style URLs and inline flows
  5. Shippingrate - demonstrates Spring Web Flow together with Ajax technology
  6. NumberGuess - demonstrates stateful beans, evaluate actions, and "single key" flow execution redirects.
  7. Birthdate - demonstrates Struts integration
  8. Fileupload - demonstrates multipart file upload, set actions, and flash scope
  9. Phonebook-Portlet - the phonebook sample in a Portlet environment (notice how the flow definitions do not change)
  10. Sellitem-JSF - the sellitem sample in a JSF environment
  11. Booking-Faces - a more comprehensive Spring Web Flow + JSF application.
All sample projects are Spring IDE projects directly importable into Eclipse as "Dynamic Web Projects" that can also be deployed inside the Eclipse IDE with Eclipse Web Tools.
 
For in-depth and thorough coverage of the entire Spring Web Flow feature set, your best bet is to read Working with Spring Web Flow.

Current Release Notes

  • Spring Web Flow 1.0.x is proven software fit for production use.
  • Spring Web Flow runs on Java SE 1.3 or greater, and Java EE 1.3 (Servlet 2.3, Portlet 1.0) or greater.  Spring Web Flow runs on all major application server platforms.
  • Spring 1.2.7 or greater is required for the Spring 1.x series, Spring 2.0 or > is required for the Spring 2.x series.
  • Struts Classic (1.2.9), Spring MVC, and JSF integration is shipped out-of-the-box.
  • The 1.0 release signifies that public API and XSD backwards compatability will be preserved throughout the 1.x series.

Upcoming Release Notes

  • Spring Web Flow 2.0 is the next major release of the framework, focusing on enhanced integration and ease-of-use.
  • Spring Web Flow 2.0 final is due out in April of 2008.

Community

  • Join our forums for lively discussions about Spring Web Flow usage and architecture.  This is the best way to get involved in the Web Flow community.

Essential Resources

Read more...

Spring Web Flow 1.0 RC2 Released


 

Dear Spring Community,

We are pleased to announce that Spring Web Flow (SWF) 1.0 RC2 (Release Candidate 2) has been released.  Download | Documentation | Changelog

This release contains bug fixes and minor improvements.   The new and noteworthy of 1.0 RC2 include…

NEW AND NOTEWORTHY

Support for passing newly launched flow executions input from their calling environment in a configurable manner.  By default all request parameters are exposed as input.  The flow may then choose to map this input into its own local scope using its input mapper.  This mapper defines the input contract for the flow which is consistent regardless of whether the flow is started as a top-level flow  or as a subflow.

Read more...

Spring IDE 1.3.1 Released

Dear Spring Community,

We are pleased to announce that Spring IDE 1.3.1 has been released.

This release of Spring IDE provides a bunch of bugfixes. For a complete list visit http://springide.org/project/milestone/Release%201.3.1

Changes:

  • Now Web Tools is only required if you want to use the BeansXmlEditor
  • Fixed resource leak in image caching
  • Updated to Spring 1.2.8

More details are available from the project’s site http://springide.org/

Use Eclipse’s update manager to install this release from the project’s update site http://springide.org/updatesite/

For bug reports tickets can be opened via http://springide.org/project/newticket

Read more...