Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB and other Java EE Technologies and the fly likes MDB Vs  Message Listener performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MDB Vs  Message Listener performance " Watch "MDB Vs  Message Listener performance " New topic
Author

MDB Vs Message Listener performance

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
JMS destination(either only one Queue or only one Topic) delivers message to the particular MDB instance deployed in the EJB container. (If we need
to deliver multiple messages simultaneously, then we can instantiate multpile MDB instances )

But if we use simple JMS listener, we can send multiple JMS destination( more than one Queue and Topic) delivers messages to the JMS consumer.
EJB container provides concurrent request to the MDB(Scalability), transaction, security and MDB life cycle management.

Which gives best performance MDB (needs EJB container, but takes care many of the features like Transaction, security, etc) or JMS consumer(no need of
EJB container, we have to take care all the EJB container provided services ?
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
Any update ?
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
reply ?
 
jQuery in Action, 2nd edition
 
subject: MDB Vs Message Listener performance