aspose file tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Synchronous Messaging & EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "Synchronous Messaging & EJB" Watch "Synchronous Messaging & EJB" New topic
Author

Synchronous Messaging & EJB

Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 925
    
    2

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.


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
J J Wright
Ranch Hand

Joined: Jul 02, 2008
Posts: 254
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


SCJP, SCWCD, SCBCD, SCEA 5
J J Wright
Ranch Hand

Joined: Jul 02, 2008
Posts: 254
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

Joined: Oct 16, 2003
Posts: 925
    
    2

Thanks very much for your replies.


Ranga.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Synchronous Messaging & EJB
 
Similar Threads
Is Message -Driven Beans Part of exam 1 ?
messaging, any help appreciated
regarding Point-to-Point messaging system
MQSeries or messaging simple question
JMS - (A)synchronous ?!?