dcsimg
A client passes a remote object stub for a RemoteObject that resides on the server to a server method.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jacob_Ehrlich
Posted On:   Wednesday, January 18, 2006 10:26 PM

If a server returns a stub to a RemoteObject that resides on the server, the client uses that stub as a parameter in another server method call, and the server invokes a method on the object, is the client involved in the 3rd step (when the server calls one of the remote object's methods)? Is there any excess communication between the server and its local RemoteObject? (I understand this is similar to http://www.jguru.com/faq/view.jsp?EID=121620 , but I am afraid there may be a different answer.)    More>>


If

  1. a server returns a stub to a RemoteObject that resides on the server,
  2. the client uses that stub as a parameter in another server method call, and
  3. the server invokes a method on the object,

is the client involved in the 3rd step (when the server calls one of the remote object's methods)?

Is there any excess communication between the server and its local RemoteObject?


(I understand this is similar to

http://www.jguru.com/faq/view.jsp?EID=121620
, but I am afraid there may be a different answer.)

   <<Less

Re: A client passes a remote object stub for a RemoteObject that resides on the server to a server method.

Posted By:   Edward_Harned  
Posted On:   Thursday, January 19, 2006 08:17 AM

We do this all the time. A server method acts like a client and invokes the server (this is called recurrsion.)


Network traffic usually refers to that which takes place between remote machines. When it's the local host, the overhead is minimal since it's cpu time not over-the-wire.

About | Sitemap | Contact