Arsalan
Arsalan

Reputation: 533

How to use unicastremoteobject if my class is already extending another class...?

I have a problem, that my Server class is already extending another class. How should I use UniCastRemoteObject?

Upvotes: 3

Views: 531

Answers (1)

user207421
user207421

Reputation: 310980

Just call UnicastRemoteObject.exportObject(). That will export the object, just like calling super() would if your class extended UnicastRemoteObject.

Upvotes: 5

Related Questions