9 Developing a WLS-IIOP Client

This chapter describes how to develop and use a WebLogic Server-IIOP client. A WLS-IIOP client is a non-ORB based JS2E client that provides WebLogic Server-specific features.

WLS-IIOP Client Features

The WLS-IIOP client supports WebLogic Server specific features, including

  • Clustering

  • SSL

  • Scalability

Note:

The WebLogic Server-IIOP client does not support the Java Authentication and Authorization Service (JAAS). Use JNDI Authentication, see Developing Clients that Use JNDI Authentication.

For more information, see Clients and Features.

How to Develop a WLS-IIOP Client

The procedure for developing a WLS-IIOP Client is the same as the procedure described in Developing a Java SE Client with the following additions:

  • Include the full wlfullclient.jar (located in WL_HOME/server/lib) in the client's CLASSPATH.

  • Use weblogic.jndi.WLInitialContextFactory when defining your JNDI context factory. Use this class when setting the value for the "Context.INITIAL_CONTEXT_FACTORY" property that you supply as a parameter to new InitialContext().

  • You do not need to use the -D weblogic.system.iiop.enableClient=true command line option to enable client access when starting the client. By default, if you use wlfullclient.jar, enableClient is set to true.