• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMS AND EJB

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
What is the role of JMS in Enterprise java bean development?
Can anybody clearify it please.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
normally we are acquainted with the client-server technology wherein the client makes a request and the server processes the request immediately. This is subject to the server resources and can bring the server down.
From what i have read JMS is a technology wherein the client puts his request in the queue and the server processes the request based on the resources and then sends the results back. This may not be necessaryly immediately.
this is similar to what we do in e-mail wherein i send a mail to a friend and the mail queue's up. now my friend reads the mail based on his leasure and sends a reply. this again queue's up in my mailbox and the process continues.
the sun site says this about JMS
"The JMS API adds to this a common API and provider framework that enables the development of portable, message based applications in the Java programming language.
The JMS API improves programmer productivity by defining a common set of messaging concepts and programming strategies that will be supported by all JMS technology-compliant messaging systems."
I hope this has helped.
Regds.
Rahul

[This message has been edited by rahul_mkar (edited July 20, 2000).]
 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would like to add something to Rahul's post.
EJB 2.0 is JMS enabled. There is going to be a EJB called MessageDrivenBean which gets called automatically when there is a message. I think we can also use JMS APIs in EJB(2) programming.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic