In EJB 2.0 e can get Server IP address like this
In the ejb 2.0 ,I can get ip like this
ClientContainer container = (ClientContainer)java.lang.reflect.Proxy.getInvocationHandler(ejbHome);
InvocationContext ctx = container.getInvocationContext();
Invoker invoker = ctx.getInvoker();
hostName = invoker.getServerHostName();
however, in ejb 3.0, I have no idea how to get the EJB Server ip .
anybody can help me?