Grettings,
I'd like to resolve the name of the current EAR to use it within an JNDI-lookup in a servlet. The sevlet is part of an WAR which is part of the EAR.
The default naming scheme for beans seem to require me to know it or is there a better way to do this lookup?
Thank you,
Matthias Berndt
I dont think there's a direct API to use. If you are concerned about hardcoding the ear name in your lookup code, you can have an env-entry in your web application and pass the ear name through this env-entry