Our J2EE Application is deployed to JBoss and sometimes to OC4J . Can I know which one is being used? I hope there is a method returning the container information on runt
Change to System.getProperty("jboss.home.dir")
System.getProperty("jboss.home.dir")