Question: jndi how does it work?
Answer: Using JNDI, applications based on Java technology can store and retrieve named Java objects of any type. ... JNDI is also defined independent of any specific naming or directory service implementation. It enables applications to access different, possibly multiple, naming and directory services using a common API.