Reputation: 533
I have a problem, that my Server
class is already extending another class. How should I use UniCastRemoteObject
?
Upvotes: 3
Views: 531
Reputation: 310980
Just call UnicastRemoteObject.exportObject()
. That will export the object, just like calling super() would if your class extended UnicastRemoteObject
.
Upvotes: 5