Maxim Frolov [
https://community.jboss.org/people/frolovmx] created the discussion
"Re: Get ear name"
To view the discussion, visit:
https://community.jboss.org/message/818943#818943
--------------------------------------------------------------
In JBoss 7.1.X you can get the EAR name using JNDI Lookup like this:
String earName = new InitialContext().lookup("java:app/AppName")
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/818943#818943]
Start a new discussion in EJB3 at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]