close

Using UDP and TCP Adapters in Spring Integration 2.0 M3

The UDP and TCP channel adapters introduced in Spring Integration 2.0 Milestone 3 provide lightweight communication either between two or more Spring Integration applications, or between a Spring Integration application and some other platform.

Following on from Oleg’s blog about the Loan Broker, I use the same example to show how to use the new UDP adapters available with M3. Assume that the CEO of the Loan Broker company has heard complaints from some customers that several banks are quoting outrageous rates. He asks the CIO if he can monitor the quotes coming back from the banks for a while.

Read more

Spring Integration 2.0 Milestone 3 Released

The 3rd development milestone for Spring Integration 2.0 was released last week (download it here).

If you have read Oleg’s recent blog, you already know that we have started working on a new reference sample implementation based on the “Loan Broker” example that plays a significant role in Gregor Hohpe and Bobby Woolf’s Enterprise Integration Patterns book.

I just wanted to post a brief blog listing a few of the other new additions and improvements in this release. You can expect to see more detailed blog entries covering a few of these features over the next couple weeks. I’m including some links to documentation, samples, and test code so that you can at least get a quick sense of how these features are evolving.

Read more

EIP 'Loan Broker' Reference Implementation (Part 1)

We are pleased to announce the first installment of the ‘Loan Broker’ Reference Implementation.
‘Loan Broker’ concept has become a de-facto reference domain for showcasing Enterprise Integration Patterns (EIP) - by Gregor Hohpe ad Bobby Woolf, and this installment of the Loan Broker RI demonstrates how Enterprise Integration Patterns are realized and applied using Spring Integration (SI) framework.

Introduction


lb-pipesFilters

At the core of EIP architecture are the very simple yet powerful concepts of Pipes and Filters and Message. Endpoints (Filters) are connected with one another via Channels (Pipes). The producing endpoint sends Message to the Channel and the Message is retrieved by the Consuming endpoint.  This architecture is meant to define various mechanisms that describe How information is exchanged between the endpoints, without any awareness of What those endpoints are or What information they are exchanging, thus providing for a very loosely coupled and flexible collaboration model while also, decoupling Integration concerns from Business concerns. EIP extends this architecture by further defining:

Read more

SpringSource S2G Forum Munich next week

Here in the Spring team, we are currently preparing for a busy next week: We have a three-day team meeting coming up from March 15th to 17th, immediately followed by the SpringSource S2G Forum Munich on Thursday, March 18th (overview, agenda, registration).

The S2G Forum series is a new conference concept that we are giving a try in Europe: One-day shows in specific regions, with international speakers, and also some regional-language talks thrown into the mix. Munich is the first of those shows this year; further ones are going to follow in Amsterdam on May 11th and in London on May 13th.

Read more

Introducing SpringSource tc Server 2.0

In the very near future, SpringSource tc Server 2.0™ will be released including a new Spring Edition, representing some big changes for the product and a big step ahead for web application development. This also continues SpringSource’s commitment to tc Server being a 100% compatible drop-in replacement for Apache Tomcat that provides the best place to build and run your Spring applications and is ideally suited for modern virtual environments.

Based on the Tomcat server that we all know and love, tc Server adds advanced diagnostics, operational management and mission-critical support capabilities. These features dramatically cut costs and complexity while increasing productivity in comparison to traditional Java EE application servers. SpringSource tc Server is now made available in three different editions: the Spring Edition, the Standard Edition and the Developer Edition. These three editions of tc Server ensure easy access for your development team and provide market leading, enterprise class, production capabilities for both Spring and non-Spring based applications.

Read more

Behind the Spring Security Namespace

With the introduction of the security schema in Spring Security 2, it became much easier to get a simple secured application up and running. In older versions, users had to declare and wire-up all the implementation beans individually, resulting in large and complicated Spring application context files which were difficult to understand and maintain. There was a pretty steep learning curve and I can still remember that it took me some time to get my head round it all when I started working on the project (then Acegi Security), back in 2004. On the positive side, this exposure to the basic building blocks of the framework meant that once you had managed to put together a working configuration, it was almost impossible not to have gained at least some awareness of the important classes and how they work together. This knowledge in turn put you in a good position to take advantage of the opportunities for customization that are one of the biggest benefits of using Spring Security.

Read more

Spring Framework 3.0.1 released

After two months of incorporating valuable feedback, it is my pleasure to announce the first Spring 3.0 maintenance release - addressing more than 170 reported issues. Get it from our download page.

Since quite a few users asked for a dependencies distribution (as an alternative to grabbing dependencies via Maven or Ivy), we are providing a third download now: containing an Ivy repository with common third-party jar files. Note that the core framework is separate from the dependencies; the latter are just provided as an additional convenience and do not constitute an inherent part of the framework distribution. You may of course keep using any supported version of the third-party libraries of your choice.

Read more

Practical Use of Spring Batch and Spring Integration

There are some common concerns of users of Spring Batch and Spring Integration, and we get asked a lot about how they fit together. Spring Batch Admin 1.0.0.M2 was released recently, and it makes heavy use of Spring Integration, so it is a good vehicle for looking at some specific use cases, and that is what we plan to do in this article.

Spring Batch Integration

Part of the 1.0.0.M2 release was the Spring Batch Integration module, recently migrated from Spring Batch and given a new home with Batch Admin. Many of the Batch-Integration cross over use cases are either implemented or demonstrated in Spring Batch Integration. The reason for the new home is that Batch Admin uses a lot of the features of Batch Integration, and so aligning the release cycle of those projects makes more sense.

Read more

Ajax Simplifications in Spring 3.0

In my last entry, I walked you through several enhancements in Spring 3 for web application development. A number of you expressed interest in a follow-up entry focused on Ajax remoting. Spring 3 provides a lot in this area to take advantage of. Read on, and I’ll walk you through it.

Spring and Ajax Overview

For the purposes of this article, when I say Ajax, I’m talking about the web browser’s ability to communicate with a web server asynchronously using JavaScript. On the server-side, Spring provides the programming model for defining web services, including services consumed by JavaScript clients. On the client-side, nobody rolls their own Ajax framework these days, either. Most use an established JavaScript framework such as jQuery or Dojo.

Read more

Introduction To Spring Roo Screencast

After our mad dash to the final release of Spring Roo 1.0.0 on New Year’s Eve, many users have asked for an introductory screencast.


In this 5 minute screencast you will see how to:


  • Develop a simple “contact manager application” using the Roo shell

  • Import and edit the project our free IDE, SpringSource Tool Suite (STS)

  • Run the Roo-provided integration tests in STS

  • Modify the application and understand ITD round-trip support

  • Deploy to your IDE’s web container

  • Use the scaffolded web user interface

  • “Push-in refactor” to move source code between Java source files and ITDs

  • Remove Roo from the project

Read more