The Spring Blog

Engineering
Releases
News and Events

Spring Web Flow 2.0 M4 - Feedback Requested

The Web Flow team has been working hard on Web Flow 2. We just reached our 4th milestone and will enter release candidate status as early as next week. The 2.0 final release is scheduled for the end of the month.

Between now and 2.0 final, we’d like your feedback! If you are an application developer currently using Web Flow 1.x, or evaluating Web Flow for use in your project, please give 2.0 M4 an evaluation and let us know what you think. If you are a web framework provider integrating the Web Flow engine into your framework, we encourage you to evaluate the refined hooks in 2.0 M4 and give us a shout out.

Read more...

Spring Web Flow 2.0 M4 Released

Dear Spring Community,

We are pleased to announce that Spring Web Flow 2.0 M4 is now available.  Download | Documentation

This release firms up the Web Flow 2 architectural model, including how SWF 2 integrates with Spring MVC, JavaServerFaces, and Ajax.  It also introduces many new features and improvements, including:

2.0 M4 New and Noteworthy

  • The introduction of a simplified XML flow definition syntax.   See the Spring Travel reference application for an example of the new syntax.
    • Use of the version 2 syntax reduces the size of a version 1 flow definition by up to 50%.  As an example, Spring Travel 1.0.5 consists of ~200 lines of flow-application code across six artifacts.  The latest 2.0 M4 version consists of 93 lines of code across two artifacts, a 50% reduction with four less files to maintain. 
Read more...

Spring Batch 1.0.0.m5 Released

Spring Batch 1.0.0.m5 is available today via the s3 Milestone repository (browse at http://s3browse.com/explore/maven.springframework.org/milestone/org/springframework/batch). For more information, please see the Spring Batch downloads page at http://static.springframework.org/spring-batch.

The main change in m5 from the user’s point of view is the configuration of jobs, steps and the launcher environment through various factory beans. Several key user concerns have been addressed by the new BatchListener group of interfaces. There are also some changes to key interfaces in the API, like ItemReader and ItemWriter, which have allowed us to separate concerns better between the user and the framework. There is a section on the website describing in detail how to migrate from 1.0.0.m4 to 1.0.0.m5 (http://static.springframework.org/spring-batch/migration/1.0-m4-m5.html).

Read more...

Spring Framework 2.5.2 Released

Dear Spring community,
 
I’m pleased to announce that Spring Framework 2.5.2 has been released. Download | Documentation
 
This is the second update release in the Spring 2.5 series. It fixes all issues reported since 2.5.1 and introduces various enhancements throughout the framework:

  • Restored full Spring 2.0 compatibility for specific extension points
  • Extended SQL error code mappings for MS SQL, MySQL, PostgreSQL and Oracle
  • Revised JDBC BeanPropertyRowMapper with refined value extraction logic
  • Support for the GlassFish/JBoss JCA WorkManager as TaskExecutor backend
  • Support for Eclipse Persistence Services 1.0 M4 (the EclipseLink JPA provider)
  • Compatibility with the WebSphere JPA provider (derived from OpenJPA)
  • @RequestMapping supports "!myParam" expressions for non-presence of a parameter
  • @RequestMapping’s "params" attribute supported at the type level as well
  • Revised JSP CheckboxesTag and RadioButtonsTag (for strict HTML compliance)
Read more...

Spring Integration 1.0 Milestone 2 Released

Dear Spring community,

I am pleased to announce that Spring Integration 1.0.0.m2 has been released.
Download | Reference Documentation | JavaDoc

This is the second milestone release of this addition to the Spring Portfolio. To see a list of the new features and improvements since Milestone 1, view the changelog. For more information, visit the Spring Integration Home. Also, stay tuned to the SpringSource Team Blog for a Spring Integration update early next week.

Mark Fisher
Spring Integration Lead

Read more...

Enabling Test Driven Development in GWT client code

In the past months I’ve been working with various clients on projects using Google Web Toolkit [GWT]. I like GWT primarily because of the Java to javascript compiler. This is the key to the door letting mere mortal Java developers create RIA’s without having to learn a new language.

I’ve allways been a fan of test driven development, and to my disappointment at first sight it looked like TDD and GWT were not going to play together.

Testing GWT code is a bit problematic. The core of the problem is that GWT code is compiled to javascript before it is run. In many cases a GWT.create() statement is used to hook into the dynamic binding mechanism. When executed in normal Java environment this statement causes an exception.

Read more...

Creating OSGi bundles

When approaching OSGi, one of the first concepts that have to be learned is the notion of a bundle. In this entry, I’d like to take a closer look of what a bundle actually is and how a vanilla jar can be transformed into an OSGi bundle.  So, without further ado,

What is a bundle?

The OSGi spec describes the bundle as a "unit of modularization" that "is comprised of Java classes and other resources which together can provide functions to end users.". So far so good, but what exactly is a bundle? Quoting the spec again:

Read more...

Spring Batch 1.0.0.m4 Released

Spring Batch 1.0.0.m4 is available today via the s3 Milestone repository (browse at http://s3browse.com/explore/maven.springframework.org/milestone/org/springframework/batch).  See the Spring Batch downloads page for more information (http://static.springframework.org/spring-batch).

 

We have re-jigged the release schedule to squeeze in an additional milestone, to which Ben and Lucas are dedicated, so 1.0.0.m5 will be out in the next 10-14 days. Then we just have time for an rc1, with some contingency for rc2 if necessary, before the expected March 20 final release. 

Read more...

Spring Batch Recent Changes and Upcoming m4 Release

We’ve been working really hard on Spring Batch getting ready for the Spring Portfolio 2.5 release train, and I thought it would be a good time to update everyone on what is happening. In this article I’m going to expand a bit on the domain modelling, and our decision to raise the profile of some of the core domain objects, and increase their responsibilities. I will also give a few tastes of what is coming in the next couple of releases leading up to 1.0, so people have a chance to comment if they want to.

Read more...

Some Decisions are Easy – Like SpringSource Acquiring Covalent

My last blog showed how Spring is soaring past EJB. Research by BZ Media and others shows that Apache Tomcat is the leading open source application server with a 64% market penetration. The dominance of Spring and Tomcat is well-known. What people may not know as well is that thousands of organizations are running Spring on Tomcat as their middleware infrastructure. Those organizations want one company to turn to for the products and services they need to be successful.

Today we announced our acquisition of Covalent Technologies. Not only does Covalent bring Apache leadership, but our combined company now has significant leadership on Apache Tomcat and HTTP. Two weeks ago, Sun paid $1bn for the “M” in LAMP. Now that Covalent’s outstanding Apache expertise and services are part of SpringSource, we are strong leaders in the “A”. We have always been about technology leadership, so we're very excited about what we can do together with Covalent. Over the last few years, Covalent has earned a great reputation in the marketplace with its support for Apache projects, including Tomcat and Apache HTTP. Its hundreds of support customers include more than half of the Fortune 500, and household names like Pfizer, Johnson & Johnson, British Telecom (BT), NASA, Intel, Royal Bank of Scotland and Bear Stearns. Our announcement today begins a new phase in the history of our company, and–I believe—the rapidly changing application platform market.

Read more...