View RSS Feed


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

  1. Listing the Bindings of a Context

    by , 07-07-2012 at 05:16 PM
    Contextís listBinding() method give out some alternate mean to access the Context children. It has been seen that aNamingEnumeration would be returned by the list(), of NameValuePair objects where access is being provided by every NameValuePair to the class name and name of every single child present in Context. A NamingEnumeration is also returned by listBinding() however in this particular case Binding objects are present in enumeration. NameValuePair has a subclass Binding. Actual child object ...