Is there a domain-concet in JBoss?
Hello!We are migrating a webapp from wls 8.1.4 to JBoss 5.
In the app we got a tag that writes domain-name and server-name in a footer.
The values came from wls-framework like:
WebAppComponentRuntimeMBean webAppMBean = (WebAppComponentRuntimeMBean) servletContext.getAttribute("weblogic.servlet.WebAppComponentRuntimeMBean");
WebLogicObjectName wlName = webAppMBean.getObjectName();
String servername = wlName.getLocation();
String domainName = wlName.getDomain();
I think I have solved the server-name from JBoss-framework
ServerConfig serverConfig = ServerConfigLocator.locate();
String domainName = serverConfig.getServerName();
But I can not find the correspondence to the domainname in JBoss.
So first question is: is there any domain-concept in JBoss?
Second: if yes in first, how to I get the domain-name in JBoss?
Best regards
Fredrik
