GeeCON Prague 2014*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Synchronous Messaging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Synchronous Messaging" Watch "Synchronous Messaging" New topic
Author

Synchronous Messaging

Henrique Ordine
Ranch Hand

Joined: Sep 03, 2004
Posts: 127
Hello Ranchers,

I'm a bit confused about what is considered messaging in J2EE. Is it just the P2P and Publish/Subscribe communication modes used by JMS or is Remote Procedure Calls, like EJBs and JCA adapters, also considered messaging?

Thanks very much.


J2EE Architect/Developer
Henrique Ordine
Ranch Hand

Joined: Sep 03, 2004
Posts: 127
Sorry for posting the sam topic twice. And I'm not allowed to delete one.
jay roy
Ranch Hand

Joined: Nov 16, 2006
Posts: 145
I feel its just JMS(Java Messaging Service)
http://java.sun.com/products/jms/
Henrique Ordine
Ranch Hand

Joined: Sep 03, 2004
Posts: 127
Ok, thanks.
So, can anyone tell me a scenario in which it would be better to implement a synchronized point-to-point messaging then it would be to simply make a RPC, like an EJB call or a JCA Adapter call?
ManojKumar Unnikrishnan
Ranch Hand

Joined: Oct 10, 2006
Posts: 32
First of all JMS is used for asynchronous messaging i.e. the data messages can be posted on to a queue, and can be picked up at any time.
Messaging is required in a scenario where data from different location needs to be merged in a single place.It could be the multiple branches of a financial company generating a log in xml format.
The xml data can then be passed across as JMS messages, to be picked up at the central location using message driven beans and an XML parser.


Systems Analyst,JCP
Henrique Ordine
Ranch Hand

Joined: Sep 03, 2004
Posts: 127
Sorry guys for bringing this up again, but I'm still confused. I've been taking many mock exams and when the question is what you would use to implement a transaction for which you need an instant response, sometimes the answer is "Synchronized messaging" and sometimes its "You wouldn't use messaging".
So, if there is such a question in the exam, which is the best answer?
Thanks again.
 
GeeCON Prague 2014
 
subject: Synchronous Messaging