O'Reilly logo

Oracle WebLogic Server 11g Administration Handbook by Sam Alapati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required