close
Newest Post

Spring Integration 1.0 Milestone 2 Released

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