• 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

Synchronous Messaging & EJB

 
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Yesterday I was taking one of the mock exams in Whizlabs simulator and there were questions about how EJB supports Synchronous (not asynchronous) messaging. What do they mean by Synchronous messaging? Do they just mean the RMI call which is Synchronous? Or do they mean reading a Queue directly? The question was very confusing.


Ranga.
 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Asynchronous messaging is supported by message-driven beans, but JMS also has a request/paradigm that can be utilized by any bean through the JMS API. A bean can use the JMS API to send a message and wait for the synchronous reply. Check out section 2.10 'Request/Reply' in the JMS 1.1 spec
 
J J Wright
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
They could of course also be referring to some kind of synchronous RPC style web service. Remember that both web services and JMS can be used in an synchronous or asynchronous fashion.
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks very much for your replies.


Ranga.
 
reply
    Bookmark Topic Watch Topic
  • New Topic