Viggo Navarsete [
https://community.jboss.org/people/viggo.navarsete] created the
discussion
"Re: Get ear name"
To view the discussion, visit:
https://community.jboss.org/message/729545#729545
--------------------------------------------------------------
I would say that if you really need the name of the EAR file, then you do something wrong,
either the way you package your application, or how you refer to modules. When running
JBoss 7.x there should really be no reason for needing the EAR name since you can use CDI
to inject resources, you hardly need to know about JNDI at all. With earlier version of
JBoss there is a different story but my point is that if you find yourself needing the
name of the EAR file, then you should rethink your solution.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/729545#729545]
Start a new discussion in EJB3 at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]