View RSS Feed

JNDI

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

  1. How JNDI Names Work

    by , 07-07-2012 at 04:15 PM
    Children name of any Context is being allowed to be listed by list() method. It has just been seen that children name could be listed of a Context when list() method is called by usage of empty string, as a parameter. Now let us assume again that Contextobject is there for naming the subdirectories which are present under javax.
    Java Code:
    NamingEnumeration childrenOfNaming = namingContext.list("");
    Result that would come out would be NamingEnumeration which holds objects ...
    Tags: jndi names Add / Edit Tags
    Categories
    Tutorial