Custom JNDI Namings for EJB's does not work with the ejb : // Protocol
Issue
- Is it possible to configure custom JNDI Bindings for the ejb:// protocol ?
-
We referred to this solution for the same, https://access.redhat.com/site/solutions/183733.
-
Using @Resource to map the EJB to a custom name withing the java:/jboss/exported namespace was worked and also with the @Remote protocol.
- But according to the this solution, https://access.redhat.com/site/solutions/396853#fn:4, the remote:// protocol is deprecated and not recommended for looking up EJB's.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.