Java Naming and Directory Interface (JNDI) tutorials and examples.
Remote JNDI lookup are considered as quite expensive sort of remote method call. For performance of JNDI lookup, applications will be doing it once. Hence home handles caching will be improving the performance in this kind of situation. It is also an expensive task to make a connection with JNDI. Caching of these context references will be improving the performance of applications.
One class is used for abstraction of all usage of JNDI and also EJB home object lookup, initial context