lewis liu [
http://community.jboss.org/people/lewisl] created the discussion
"how the obtain the ip address of ejb server"
To view the discussion, visit:
http://community.jboss.org/message/620025#620025
--------------------------------------------------------------
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?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/620025#620025]
Start a new discussion in EJB3 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]