A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Unicast Remote Object
Joined: Mar 04, 2010
Mar 04, 2010 23:13:26
i am new to
therefore my question may not be apt for this forum
But why does implementation class has to extend
Joined: Mar 12, 2010
Mar 12, 2010 02:03:43
Actually, implementation class does not necessary has to extend
. RMI goal is to make objects remotely accessible. There are two ways of doing this:
2. Call static method UnicastRemoteObject.exportObject with your implementation class as a parameter.
As far as i know, using
either way is required by RMI server.
subject: Unicast Remote Object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014