What are the pros and cons of JMS over RMI and vice versa?
And which technology is best suited for what kind of projects?
KingNitz
-
RMI v/s JMS (4 messages)
- Posted by: Nitin Narayan
- Posted on: May 09 2001 08:39 EDT
Threaded Messages (4)
- RMI v/s JMS by balakoti reddy on May 10 2001 05:23 EDT
- RMI v/s JMS by John Harby on May 11 2001 19:29 EDT
-
RMI v/s JMS by Paresh Shah on May 14 2001 05:11 EDT
- RMI v/s JMS by Steve Brink on September 15 2002 07:26 EDT
-
RMI v/s JMS by Paresh Shah on May 14 2001 05:11 EDT
- RMI v/s JMS by John Harby on May 11 2001 19:29 EDT
-
RMI v/s JMS[ Go to top ]
- Posted by: balakoti reddy
- Posted on: May 10 2001 05:23 EDT
- in response to Nitin Narayan
I think a hybrid approach is best. some situations more
or less demand an RPC model, in which the caller blocks until a response is ready. in other cases, typically when the return value of the corresponding RMI call is void, it might be nice to have an asynchronous system.
you can, of course, develop something like JMS using RMI. clients can
add messages to a queue which is processed by some other thread. all sorts of things need to be considered, like how are error conditions signalled, how hard do you try to deliver messages in the face of network failures. etc. when you start worrying about those things,
you start saying, "jeeze, why don't I just buy a JMS product?"
balu
-
RMI v/s JMS[ Go to top ]
- Posted by: John Harby
- Posted on: May 11 2001 19:29 EDT
- in response to balakoti reddy
Frequently, JMS is implemented over RMI by the vendor. But basically the issue as he says is whether or not you want to block on a call or not. -
RMI v/s JMS[ Go to top ]
- Posted by: Paresh Shah
- Posted on: May 14 2001 17:11 EDT
- in response to John Harby
Yup, the basic thing would be whether you want to block the call or not.
Another consideration obviously is if you need to talk between systems other than java, some JMS vendors provide a way where c++ etc can talk to JMS.
Regds
Paresh -
RMI v/s JMS[ Go to top ]
- Posted by: Steve Brink
- Posted on: September 15 2002 19:26 EDT
- in response to Paresh Shah
I am new to Java and need to create a "Messenger" application for a project. I was trying to determine if RMI or JMS was the way to go. Can you explain to me what you mean by "blocking a call?"
Thanks