Skip to Content
0
Former Member
Jun 16, 2006 at 05:30 AM

find host and port

17 Views

My J2EE application has an EJB module and web module. I need to call the servlet in the web module from EJB module, via HTTPUrl connection. To make the web application portable and not-hardcoded, is there any way for EJB module to find out programatically the host and port number of where my J2EE application is deployed?