• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

JMS Consumers and MDB

 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am sorry if this seems like a silly question but the book I am using referes multiple time to JMS Consumers and MDB as two different things ... ARE THEY?
if so then what is the difference please?

Thanks
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In JMS we typically have a JMS provider (the server) and JMS clients (anyone that uses the JMS server).
Clients can be message consumers or message producers or both.
A JMS consumer is simply any class that recieves messages from JMS topics or queues.
A JMS producer is a class that post JMS messages to the server.

A Message Driven Bean (MDB) is the EJB implementation of a JMS consumer.
MDB's are quite similar to stateless session beans,
but rather than exposing a business interface to the client, they receive messages from JMS.
[ July 16, 2008: Message edited by: E Lievaart ]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic