How to get the EJB listening port?
Posted
by Alotor
on Stack Overflow
See other posts from Stack Overflow
or by Alotor
Published on 2009-05-26T08:18:50Z
Indexed on
2010/03/27
7:03 UTC
Read the original article
Hit count: 290
I'm currently developing a library for monitoring calls to several remote services (WebServices, EJBs...).
One of the parameters that i would like to register is the port from which a EJB is called (a Stateless Session Bean invoked like a remote object)
There is any standarised way of getting the port? Or should I inspect the JNDI tree for this kind of information?
I'm using the EJB 2.1 spec, but it's also posible for me to use EJB 3
© Stack Overflow or respective owner