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

Viggo Navarsete do-not-reply at jboss.com
Thu Apr 12 03:42:48 EDT 2012

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

Start a new discussion in EJB3 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120412/b557679a/attachment.html 

More information about the jboss-user mailing list