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 …

Getting Started With Spring Batch, Part Two

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

Now that we’ve had a high level overview of some of the simple and basic features of Spring Batch, let’s dive into what it takes to get up and running. The main purpose of this quick and simple tutorial is to give you a starting point for exploring Spring Batch to see if you’d like to implement it for one …