JBoss Community

Re: Get ear name

created by Sverker Abrahamsson in EJB3 - View the full discussion

The ServiceLocator has methods like this for all Service beans:

 

public final SystemStatusService getSystemStatusService(Properties env) throws NamingException {
        return (SystemStatusService) getContext(env).lookup(getEarName() + "SystemStatusService/remote");
}

Reply to this message by going to Community

Start a new discussion in EJB3 at Community