• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MDB Vs Message Listener performance

 
kri shan
Ranch Hand
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any update ?
 
kri shan
Ranch Hand
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
reply ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic