Hi,
In IBM to read the context root of the web application contained in EAR file the following classes provided in IBM WAS are used:
com.ibm.websphere.management.*;
com.ibm.websphere.management.application.AppConstants;
com.ibm.websphere.management.application.AppManagement;
com.ibm.websphere.channel.framework.*;
com.ibm.websphere.management.application.*;
com.ibm.websphere.management.application.client.*;
What are the equivalent API's in JBoss that can be used for these operations.
Thanks
Vivek
For this particular use case it would be easier to make use of javax.servlet.ServletContext.getContextPath() somehow.
Otherwise you probably need to have a look at AS71 Management API reference.