View RSS Feed

JNDI

Java Naming and Directory Interface (JNDI) tutorials and examples.

  1. Locating EJB Home Interface

    by , 01-02-2012 at 06:21 PM
    Home interface of EJB can be located by an EJB client via standard JNDI API. To make available the home interfaces of its deployed beans EJB is considered responsible, using JNDI. JNDI namespace of a client can be configured to consider the EJBs home interfaces which are installed on other hosts or containers.

    Java Code: This is the code to locate EJB Home Interface
    import java.util.Collection;
    import java.util.Iterator;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    ...

    Updated 01-14-2012 at 06:20 PM by JNDI

    Categories
    Tutorial