Regarding the Java / JNDI verbiage words, are directory services more complex versions of naming services?
If you read JNDI glossary , it basically defines the following two:
naming service - an API that allows you to perform operations in different contextscontext - Sounds a lot like a HashMapdirectory service - an API that allows you to perform operations on directory objectsdirectory object - an object that is in the directory .... (?!?!)
So, if I'm not mistaken, it seems that both types of services allow you to perform CRUD operations for different types of objects, either contexts (in the case of a naming service) or directory objects (in the case of a directory service).
So my question is: what's the difference?!? Are both of these types of context / directory objects really just hashmaps / hashtables under the hood?
I am choking on these differences because I am trying to understand when something is a naming service and when it is a directory service, and these definitions are hard for me to evaluate.
source share