Results 1 to 3 of 3
  1. #1
    sahin is offline Member
    Join Date
    Feb 2012
    Posts
    1
    Rep Power
    0

    Post How can I get Remote Address from Object? (Java RMI)

    Hi,

    I have a problem with using Java RMI such that,

    My Client class is like this;


    String remote_address=...;

    Server_Int remobj= (Server_Int) Naming.lookup(remote_address);

    String str=....;

    String str=remobj.send(str);



    Now I have a remote object as "remobj",

    And I want to reach its connection address "remote_address"

    How can I find this address?

    Thanks a lot....

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,619
    Rep Power
    5

    Default Re: How can I get Remote Address from Object? (Java RMI)


  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Moderator
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    10,089
    Rep Power
    17

    Default Re: How can I get Remote Address from Object? (Java RMI)

    Why do they call it rush hour when nothing moves? - Robin Williams

Similar Threads

  1. Java program to ping remote machine using IP address..?
    By prabhurangan in forum New To Java
    Replies: 19
    Last Post: 11-22-2011, 03:58 PM
  2. Replies: 4
    Last Post: 04-28-2010, 06:13 PM
  3. Remote deploy and remote work with JBoss AS
    By chalda in forum Eclipse
    Replies: 2
    Last Post: 03-08-2010, 11:17 AM
  4. [SOLVED] printing address of current instance of object?
    By emceenugget in forum New To Java
    Replies: 1
    Last Post: 02-09-2009, 09:36 PM
  5. sort IP address in java
    By nilesh_123 in forum Networking
    Replies: 8
    Last Post: 10-18-2008, 10:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •