Showing posts with label Lightweight JMS. MDP. Message Driven POJOs. Show all posts
Showing posts with label Lightweight JMS. MDP. Message Driven POJOs. Show all posts

Saturday, March 10, 2012

Lightweight Messaging

I have always liked MDBs. But in a very recent project, which was entirely lightweight, I just did not want a EJB container in the frame. So, I looked around… Considered simple Java messaging and it was then that I bumped into MDPs!

MDPs are the Message Driven POJOs, Spring’s answer to JMS implementations and Asynchronous reception. It ships with a fantastic DefaultMessageListenerContainer and comes in 3 interface implementation options – Conventional JMS MessageListener, Session Aware Message Listener and the Message Listener Adapter. For details, so as to how you can get this up and running please refer -


Quick, seamless and bingo no EJB container! So, next time you need an Asynchronous infrastructure, give this implementation a thought