How to find JNDI name in JBoss-7?

2019-09-06 00:27发布

Please find the scenario below,

@Stateless(name = "TestManager")
@Remote(TestInterfaceRemote.class)
@Local(TestInterfaceLocal.class)
public class TestManagerBean implements TestInterfaceLocal, TestInterfaceRemote {}

The following JNDI name for the TestManagerBean class which is printed in server.log file if the server log level is INFO. By using this JNDI, I am able to access the bean in the EJB client program.

java:global/Sample/Demo/TestManager!net.juniper.jmp.test.TestInterfaceRemote

My question is,

How to find same JNDI names in JBoss-7 setup? Do we have any console to know the all JNDI's in JBoss?

I tried to find JNDI names by using jconsole mode but there's only EJB name not fully qualified JNDI name on it.

Could you please give me an IDEA if we have an option to know JNDI names in JBoss-7?

标签: jboss7.x
1条回答
我欲成王,谁敢阻挡
2楼-- · 2019-09-06 00:59

In JBoss EAP 6.2.0.GA (JBoss AS 7.3.0.Final) the web administration console provides a JNDI View: enter image description here

查看更多
登录 后发表回答