Is there a way to find out the deployment name of an application from a server managed object that itself is in, on Weblogic 11g? For example, can I get the application name a stateless bean in deployed with, from that stateless bean itself?
I found some servers allow for JNDI lookup of java:app/AppName
, but it doesn't seem to work on Weblogic. Also, I know I can get the names of all the deployed applications (and much more) using MBean, but I don't know how to identify 'the one' that I'm interested in without previously passing the application name to my bean, which defeats the purpose.