Java Naming and Directory Interface (JNDI) tutorials and examples.
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
NamingEnumeration childrenOfNaming = namingContext.list("");