This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes Live ref object Object ID at transport layer in RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Live ref object Object ID at transport layer in RMI" Watch "Live ref object Object ID at transport layer in RMI" New topic
Author

Live ref object Object ID at transport layer in RMI

Naseem Khan
Ranch Hand

Joined: Apr 25, 2005
Posts: 809
Hi...

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.

Any suggestion will be appreciated.

Tx in advance

Bye

Naseem Khan


Asking Smart Questions FAQ - How To Put Your Code In Code Tags
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Live ref object Object ID at transport layer in RMI
 
Similar Threads
Question about Stub and Skeleton
RMI-IIOP Pass By reference
Exception in RMI program
RMI implementation
where's the "sharpen your pencil" answer?