Obtaining a JNDI Context using InitialContext
6.1.2.1. Obtaining a Context using InitialContext All naming service operations are performed on some implementation of the Context interface. Therefore, you need a way to obtain a Context for the naming service you are interested in using. The javax.naming.IntialContext class implements the Context interface, and provides the starting point for interacting with a naming service.