Question: how jndi works in ejb?
Answer: JNDI stands for Java Naming and Directory Interface. ... Java based applications use JNDI for naming and directory services. In context of EJB, there are two terms. Binding − This refers to assigning a name to an EJB object, which can be used later.