Scaling Spring Batch – Step Partitioning

Jonny Hackett Java, Spring, Spring Batch, Technology Snapshot, Tutorial 19 Comments

We have talked about how to get up and running with Spring Batch in a few of previous articles. Now, we’re going to start discussing some of the strategies available for scaling Spring Batch. This article will focus on partitioning a step so that the step has several threads that are each processing a chunk of data in parallel. This …

Tutorial: RabbitMQ with Spring Framework

Zhihua Douglas Dong Java, Spring, Tutorial 13 Comments

In this quick tutorial, we will create a RabbitMQ Template to send messages to an exchange. The exchange we are working to send a message to is named “TUTORIAL-EXCHANGE” with a routing key of “my.routingkey.1”. We will then create an AMQP listener in order to listen for messages in the same exchange using the pattern of the sender’s routing key. …

Generating Large Excel Files Using Spring Batch, Part Three

Jonny Hackett Java, Spring, Spring Batch, Technology Snapshot 14 Comments

While working for a client recently, I was given a small project to produce a report that would help reconcile differences in data that existed in four to five different database sources. The requirements specified a need to compare roughly 40 fields from each of these sources against each other, and to report the differences in MS Excel format, which …

Spring/JSF Support For Multiple Browser Tabs

Keith Shakib Java, Problem Solving, Spring 2 Comments

PREFACE In January, I wrote a blog post about the need to partition HttpSession across multiple browser tabs or windows. In that blog, the client was using JSF 2.0, but not Spring. Now, nine months later, I find myself at a different client with the same problem, but with a different technology stack. They are using Spring 3.0.5 but are …

A jqGrid Integration Solution

Robert Rice Java, Spring, Technology Snapshot 1 Comment

jqGrid is an Ajax-enabled JavaScript control that provides solutions for representing and manipulating tabular data on the web. Since the grid is a client-side solution loading data dynamically through Ajax callbacks, it can be integrated with any server-side technology, including PHP, ASP, Java Servlets, JSP, ColdFusion, and Perl. JqGrid is extremely robust, but with that comes a price; the amount …