How to get the EJB listening port?
- by Alotor
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