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 UnicastRemoteObject ???
Joined: Mar 12, 2010
Mar 12, 2010 02:03:43
Actually, implementation class does not necessary has to extend UnicastRemoteObject. RMI goal is to make objects remotely accessible. There are two ways of doing this:
1. Extend UnicastRemoteObject
2. Call static method UnicastRemoteObject.exportObject with your implementation class as a parameter.
As far as i know, using UnicastRemoteObject either way is required by RMI server.
I agree. Here's the link:
subject: Unicast Remote Object
Extending Data class for RMI
Need to extend UnicastRemoteObject class
Question on Connection Object
How many Objects of remoteData
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014