
Java
To look up an Enterprise
JavaBean (EJB) component, you typically use the
Java Naming and Directory Interface (JNDI) API. JNDI allows you to access naming and directory services, enabling you to retrieve the EJB references by their names from the application's environment. You typically perform a lookup using the
InitialContext class to obtain the desired EJB instance.