• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI-IIOP Pass By reference

 
Lathish
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , i am new to this forum.Got some doubts to clear!!!

In RMI-IIOP one can pass Method parameters by Reference which results in the Client generating and sending a stub for the Object parameter to the remote server.Correct me!!! if i am wrong here ,[the server then calls the stub method to connect back to the client thereby Modifying the Objects State(In this Whole process the client Also creates a skeleton to complement the stub that it sent previously to the server ,so that the server can Invoke methods on the referenced Client Object).]

Now!! What is the result if the Object which is Passed by reference (for which a stub and skeleton is created on the client side), contains a method which inturn takes the Object of the Same Class or of a different Class as a Parameter which is marked to be passed by reference i.e[which implements the 'Remote' Interface] ?

Would it not create an Ininite loop of 'Stub & Skeleton' Creation ???
[ December 19, 2007: Message edited by: Lathish ]
 
Peter Chase
Ranch Hand
Posts: 1970
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch. I hope you can find an answer to your question here. Unfortunately, I myself don't know about RMI-IIOP.

When you registered, you seem not to have spotted the JavaRanch name policy. You are required to use real(-sounding) first and last names, and "GCoolJnx" does not meet this requirement. Please edit your profile and choose a real name. This is NOT OPTIONAL and non-compliance will be followed-up.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic