The Spring Blog

Engineering
Releases
News and Events

Messaging meets OSGi at OSGi DevCon Europe

Yesterday I was speaking at OSGi DevCon Europe about using Spring Integration and dm Server to tackle common problems in large applications in a pragmatic way. Before and after my session I talked to various people that liked to have a little more information about these ideas. This blog will give an overview of what I talked about.

I’ll jump right in with a summary of the presentation.

Any project will grow during its lifetime of active development. Usually developers add features and fix problems raised by the product owners by adding code. This process will naturally grow the code base. While the source grows the maintenance and fixing bugs typically gets harder. If not dealt with this process will ultimately lead to something I call Code Supernova. This uncontrolled growth, and eventual collapse, can be countered by proper modularization, and OSGi is one of the more compelling medicines currently available.

Read more...

Modular Web Applications with SpringSource Slices

Updated: added sub module instructions for Git.

I’ve talked in the past about providing support for truly modular applications, and I’m pleased to announce that you can now access the early prototype code of SpringSource Slices.

Building and Installing

You can access the source code from our Git repository:

git clone git://git.springsource.org/slices/slices.git
git submodule init
git submodule update

To build a packaged version of Slices simply run ant clean jar package from the build-slices directory:

Read more...

dm Server Repository Content via JMX

In the dm Server 2.0.0.M1 release we added support for shared repositories. As a followup to this new functionality, we’ve added support for browsing those repositories via JMX.

Connecting to a running dm Server instance with a JMX client now shows you a Repository group. Under this group, each configured repository (with the exception of chained repositories) has a bean that returns synopses of all of the artifacts contained inside. The bean also exposes a method for returning the entire, detailed ArtifactDescriptor for a given bean based on it’s type, name, and version.

Read more...

Exploring Roo's Architecture

Last month we discovered how easy it is to build a fully-fledged enterprise application in just a few minutes using Spring Roo - our new productivity tool for Java developers. While many Java developers have already started evaluating Roo to help save time on their projects, I’ve received a lot of questions from people curious about how Roo actually works. In this blog entry I will explore Roo’s architecture in depth, including its goals, alternatives prototyped, design rationale and implementation details. By the end you’ll have a good understanding of what makes Roo tick and why its approach works well for Java projects.

Read more...

Deploying WARs to the OSGi Web Container is now even easier

As Rob mentioned in his introduction to the OSGi Web Container, dm Server automatically imports system packages into Web bundles. This has proved very useful, especially when deploying existing WAR files into an OSGi environment. I’ve recently spent some time moving this functionality from dm Server’s Web subsystem into the OSGi Web Container RI. This blog describes the new functionality, and how to make use of it.

Enabling import of the system packages

There are two ways in which you can instruct the RI to import all of the exported system packages.

Read more...

Spring BlazeDS Integration 1.0.0 Released

Dear Spring Community,

I'm pleased to announce that the first GA release of Spring BlazeDS Integration, the open source solution for building Spring-powered RIAs with Adobe Flex, is now available.

Download | Reference Documentation | JavaDocs | Changelog

In response to the community feedback since the release of RC2, we've clarified some of the documentation, made a few minor improvements to the Spring Integration messaging adapter, added some metadata to help with tooling support, and tweaked the ivy and pom files to ensure all dependencies are properly captured. I would like to extend my sincere thanks to all of those who have tried out the early releases and provided feedback, as it has been critical to ensuring that the full 1.0 is solid.

Read more...

Using Spring BlazeDS Integration 1.0

Today we announced the public availability of the 1.0 GA release of the newest member of the open source Spring project portfolio, Spring BlazeDS Integration. Corresponding with this event, I thought it time to bring my previous getting started post up to date. To recap:

This project's purpose is to make it easier to build Spring-powered Rich Internet Applications using Adobe Flex as the front-end client. It aims to achieve this purpose by providing first-class support for using the open source Adobe BlazeDS project and its powerful remoting and messaging facilities in combination with the familiar Spring programming model.
Read more...

Cloning in dm Server 2.0 M3

Cloning is the feature in dm Server 2.0 which copies certain bundles and libraries into a scoped application (that is, a PAR or a scoped plan) as described in the roadmap.

The support for cloning in dm Server has progressed steadily over the last few sprints. The fundamental mechanisms were in place in M1: cloning may be triggered:


  • manually by specifying the directive sharing:=clone on import-library or import-bundle

  • automatically when a scoped application fails to resolve because of a uses constraint violation.

Read more...

SpringSource Tool Suite 2.1.0.M2 released

Dear Spring community,

we are pleased to announce that we released a second milestone of upcoming SpringSource Tool Suite 2.1.0.

Here are the highlights of new features in 2.1.0.M2:

  • Updated to Spring 3.0 including support for @Configuration/@Bean and task:* and jdbc:* namespaces
  • Ability to use external Roo installation with STS; Roo commands are executed in background to not block the UI
  • Integration of VMware Lab Manager
  • Management of and remote application deployment to tc Server instances (groups or single instances)
  • Major performance improvement with the Spring Project Builder
Read more...

Red Hat Reacts to SpringSource's Leadership

As the Register and several bloggers have noted, Red Hat recently announced a defensive move motivated by trying to play catch-up with SpringSource. Clearly the momentum of SpringSource tc Server and dm Server has Red Hat worried, along with the continued advance of the Spring Framework as the de facto standard component model for enterprise Java.

The “JBoss Open Choice strategy” appears to be a repackaging, rather than new technology, which attempts to position JBoss as still relevant in a brave new world of changing requirements. Not only is the repackaging obviously reactive, but much of the messaging itself sounds derivative. On a positive note, it appears Red Hat has finally realized that many developers and customers have long since moved away from the full Java EE stack; that the traditional heavyweight application server has declined in importance; and that the Spring programming model is important to their customer base. We welcome the validation, but this is a great time to reflect on the profound differences between the two companies.

Read more...