How could I find out the EAR name?
I was using "java:app/AppName" in JNDI but, I just realized it returns the application name (that usually, BUT NOT ALWAYS concides with ear name)