Using JNDI to Connect a Java Client to a Server
Before a client can use JNDI to access various WebLogic Server resources such as data sources, you must load those objects into the JNDI tree of the server. JNDI services enable the applications to access service providers such as a naming or directory service, or an LDAP directory. Applications use a context as a sort of link to a JNDI service provider. In order for a Java client to access the WebLogic Server JNDI tree, it needs to get an object reference for a remote object by first establishing an initial context (using the javax.naming.InitialContext class) that represents the context root of the server. The client uses the initial context to specify various environmental properties to identify ...
Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.