• 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

remote reference

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello
i would like to understand what is exactly a remote reference and what does it contains. Is it an instance of the stub ? is this stub created on the server and then serialized to be pased to the client ? Is it information about remote object and about the stub to instantiate in the client memory ?
thank you very much
Olivier
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A remote reference is a reference to the stub object, which knows how to pass the method invocations to the target object on the server-side. In practise, this information might include an IP address, port number, and some identifiers needed by the application server's plumbing to route the invocation to the correct object.
 
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lasse
Is not that the stub and remote reference are one and same entity? .
A remote reference(stub)at client side is reference to remote object that is ejb object.Both stubs and skeletons are created at server side.When we call create() on home object , reference to ejb object which we call stub is returned to client code.

Originally posted by Lasse Koskela:
A remote reference is a reference to the stub object, which knows how to pass the method invocations to the target object on the server-side. In practise, this information might include an IP address, port number, and some identifiers needed by the application server's plumbing to route the invocation to the correct object.

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic