
Configuring Spring and JTA without full Java EE
Spring has rich support for transaction management through its PlatformTransactionManager interface and the hierarchy of implementations. Spring's transaction support provides a consistent interface for the transactional semantics of numerous APIs. Broadly, transactions can be split into two categories: local transactions and global transactions. Local transactions are those that affect only one transaction resource. Most often, Read more…

Green Beans: Getting Started with Enterprise Messaging and Spring
In this post, we will introduce the core concepts of messaging, as well as the rich support for various types of messaging that the Spring framework and its sister projects provide. What is Messaging? To best explain this, I'll paraphrase the example offered by the groundbreaking Enterprise Integration Patterns book by Gregor Hohpe and Bobby Read more…
Understanding AMQP, the protocol used by RabbitMQ
table { margin-bottom: 1em; } table, tr, th, td { border: 1px solid #DDD; border-collapse: collapse; } th, td { padding: 5px 10px; } Update I changed the first paragraph to clarify the relationship between RabbitMQ and JMS. RabbitMQ is a lightweight, reliable, scalable and portable message broker. But unlike many message brokers familiar to Read more…

Request-Reply JMS with Spring 2.0
Several months ago, I posted a blog entry introducing Spring 2.0's support for Message Driven POJOs. While many people are now familiar with that feature, Spring 2.0's JMS remoting features have received less attention. Essentially, this remoting functionality provides a JMS-based version of Spring's general approach to remoting as exhibited in its support for RMI, Read more…

Message Driven POJOs!
Of all the new Spring 2.0 features and improvements, I must admit that Message-Driven POJOs are one of my personal favorites. I have a feeling that a lot of other Spring users will feel the same way. Here I am providing a quick introduction. There is a lot more to show, and I will follow Read more…

Spring 2.0's JMS Improvements
With the release of Spring 1.1 the Spring community was given it’s first taste of JMS support. This support included exception translation, message conversion, and a template class much like JdbcTemplate. This support also took care of domain unification between the JMS 1.0.2 and 1.1 specs. The centerpieces of this support are the JmsTemplate class Read more…





