• Post Reply Bookmark Topic Watch Topic
  • New Topic

UnicastRemoteObject hangs  RSS feed

john cheung
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To access a subclass of UnicastRemoteObject using a local reference.
I want to be able to access this subclass locally and remotely
class is as follows: public class IDataImpl extends UnicastRemoteObject implements IData.
The remote reference works with no problem.
I have already tried subclassing Activatable but that approach does not work either
It appears that instantiating IDataImpl forces the application to wait for a rebind...
Possible solutions:
I guess I could extend UnicastRemoteObject when I know whether the object will be referenced locally or remotely but it just seems like bad design...
How about it any ideas???
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!