Preparations |
Notice that the Context and DirContext interfaces include overloaded forms of each method: one that accepts a java.lang.String name and one that accepts a Name. Each pair of these overloaded methods is equivalent in that if the Name and java.lang.String parameters are simply different representations of the same name, then the overloaded versions of the same methods behave in the same way.For the purposes of this trail, you can just think of and use the name parameter as a name in the target namespace (such as that of your LDAP server). For a more thorough discussion of names, see the Beyond the Basics trail.
Preparations: End of Lesson
What's next? Now you can:
- Continue on in this trail to learn how to perform naming operations using the JNDI.
- Go to the Directory Operations lesson to learn how to perform directory operations using the JNDI.
Preparations |