1 Reply Latest reply on Apr 21, 2008 9:40 AM by Brian Stansberry

    Detect ip of cluster

    ruhe inc Newbie

      Is there any way to detect IP of cluster node from bean?
      Here is simple example:

      InitialContext ctx = new InitialContext();
      Chunky chunky = (Chunky) ctx.lookup("ChunkyBean/remote");

      I'm using Round-Robin method for load-balance. Each call to chunky stub calls new node from cluster. I need to detect IP of that cluster each time stub is called. Maybe I can do that from bean?