• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

JMS - MDB  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any one please help me in understanding the differences between JMS and MDB. i will be very greatful if i get a explanation with an EXAMPLE.
Thanks in advance
 
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anil,

Welcome to JavaRanch


can any one please help me in understanding the differences between JMS and MDB



JMS is a specification. Message Driven Beans (MDB) is a type of EJB which are invoked based on JMS events. MDBs are used for asynchronous processing.

Ex: In JMS, you can have a "queue" to which messages can be delivered. This queue can be listened by a MDB. Whenever a message is delivered to the queue, the JMS server will invoke the onMessage method of the MDB and deliver it the message.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!