Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS Vs. MDB

 
Grishma Dube
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me the difference between the Message Driven Beans and JMS?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JMS is a programming interface for message-oriented middleware (MOM) systems while MDB is a component model for event-based computing in the J2EE environment. Under the hood, a J2EE container uses the JMS API for getting messages to pass on from the MOM product.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To even simpify on what Lasse said... an MDB is merely a consumer of a JMS message, nothing more. Therefore MDBs do not replace JMS, they compliment it.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Chris, I sometimes make myself wonder what I'm trying to say...
 
Juan Rolando Prieur-Reza
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lasse Koskela:
Thanks Chris, I sometimes make myself wonder what I'm trying to say...

I liked your first definitions - very precise and unambiguous. No need to back away in my opinion.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by john prieur:
I liked your first definitions - very precise and unambiguous.
Thanks again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic