• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RMI-IIOP Pass By reference

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1970
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic