[jboss-user] [EJB3] - Re: Get ear name

Maxim Frolov do-not-reply at jboss.com
Wed May 22 14:37:43 EDT 2013


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&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130522/3c26d579/attachment-0001.html 


More information about the jboss-user mailing list