This week's book giveaway is in the
We're giving away four copies of
Node.js in Action
and have Mike Cantelon, Marc Harter, T.J. Holowaychuk and Nathan Rajlich on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
RMI - Basic Question
Joined: Sep 08, 2010
Oct 23, 2011 04:46:11
I am implementing RMI application. I have gone through many tutorials on net and tried them.
What I understood is we need Client, MessagePassingInterface and Server to implement RMI.
In my application the Client and the Server reside on different machines and Both of them need MessagePassignInterface to invoke methods remotely.
Where should MessagePassingInterface reside? At client side or at server side?
Both client and server need MessagePassingInterface it is impossible to compile if it is missing.
would having MessagePassingInterface at both ends serve the purpose?
Thanks for help.
Joined: Jul 11, 2010
Oct 24, 2011 13:56:34
Remote Interface will be residing at both Client and Server JVMs...
Remote Interface should be publicized to be used by Clients...
Server JVM ensures of providing services to Clients through Remote Interface.
Client will make use of this interface and call the remote methods via Remote interface.
Client will download
from rmi registry running in Server side.
will implement Remote Interface.
, Client can invoke remote methods in Remote bean running in Server JVM.
Make sure, when any updates are done in Remote Interface at server side, Client should be given the updated interface...
SCJP 6 [SCJP - Old is Gold]
Don't get me started about those stupid
subject: RMI - Basic Question
Client and Server on different machines
Rmi Call Back Issue!!!
naming is it OS specific
Does EJB also use dynamically download?
Newby RMI question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014