View RSS Feed


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

  1. Explain the difference between the look up of “java:comp/env/ejb/MyBean” and “ejb

    by , 01-02-2012 at 07:27 PM
    The alias or logical reference java:comp/env/ejb/MyBean has always been a recommended approach as the physical JNDI location i.e. ejb/MyBean may not be guaranteed that it (specified in the code) will be present. In case the physical location is changed, code will also be broken down. Your code will not be able to get modified by the deployer. This problem is solved by the logical references which bind the logical names in the application server to the physical name. Declaration will be done of ...

    Updated 01-15-2012 at 09:23 AM by JNDI

    Tags: lookup ejb Add / Edit Tags