A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Unicast Remote Object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014