Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How does the client locate the specific server object that it requires

Status
Not open for further replies.

xoriantkm

Technical User
Oct 10, 2000
2
IN
Hi folks,

Could u help me resolve my following doubt..
I am a little hazy on how exactly a client finds the server resource that it needs. I know that Naming and Directory services play a paret in this and that one or more ORBs are involved but can anyone give me a simple run through of how it all fits together?

Thanks in advance,
XoriantKM [sig]<p>Xoriant Knowledge Management<br><a href=mailto:km_k@hotmail.com>km_k@hotmail.com</a><br><a href= Management</a><br>eBusiness Built Right[/sig]
 
First you get a reference to the naming service.
Next you use the naming service helper class to narrow the refence to the object.
Next you use your orb to connect to the object you require. [sig]<p>Cal<br><a href=mailto: > </a><br><a href= > </a><br> [/sig]
 
but how to get a reference to specified NamingService that is in the remote machine? [sig][/sig]
 
By broadcase a message and wait for the response!


Regards!
 
actually client finds the server by IOR(Interoperability Object Reference). This IOR contains the information about the server, its port and object references! its in binary format. we cannot understand the IOR. Naming services uses the IOR to map to the server.use visibroker for java start the server u can see the IOR generated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top