I have EJB and MBean deployed in the same WAR. Is it possible to call EJB from MBean? The same JNDI lookups which work fine from the Servlet (like java:module/TestBean), fail from MBean. I believe in older JBoss versions JNDI worked the same way from MBean as from Servlet.