Jump to content

Need help in LocalRegistry class..

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
raghu

raghu

    Newbie

  • Members
  • PipPip
  • 11 posts
Please see the following class in the JavaAPI

LocateRegistry (Java 2 Platform SE v1.4.2)

Please tell me about the "host"

Whether it is ip adress or URL or any thing..??

ThankU in advance.. :)

#2
farrell2k

farrell2k

    Learning Programmer

  • Members
  • PipPipPip
  • 60 posts
I would assume IP address.

From the JavaDoc: Returns a reference to the remote object Registry on the specified host on the default registry port of 1099. If host is null, the local host is used.

#3
raghu

raghu

    Newbie

  • Members
  • PipPip
  • 11 posts

farrell2k said:

I would assume IP address.

From the JavaDoc: Returns a reference to the remote object Registry on the specified host on the default registry port of 1099. If host is null, the local host is used.

Thanks dude..