This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
On the server side, when the server object is created, the constructor of UnicastRemoteObject performs an exportObject(). Inside exportObject(), an UnicastServerRef object is instantiated and exported. It creates a live reference object (the transport layer) which contains an IP address, a TCP port number and an Object ID.
From some article i read this.
Then a mapping from the Object ID to the stub and skeleton is registered in an object table residing in the transport layer.
Could nyone plz tell me wat is this: 1.Live reference object 2.Object ID How it relates to stub and skeleton and wat is this mapping?
I searched a lot in UnicastServerRef class's exportObj() method, it further defines some Target class object. In fact i searched all this in Util class then WeakClassHashMap, WeakHashMap, then SoftReference...But i did not understand Object ID , live reference object etc.