WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Running Thin application client code

You can run Thin application client environments on machines installed with either a client installation or a server installation. The client installation provides a setup command shell which sets up your environment for either a Thin application client or a J2EE client application. The server installation provides a command shell which sets up your environment for J2EE application clients only.

Before you begin

Both J2EE application clients and Thin application clients can access JMS resources provided by the default messaging provider.

About this task

Note: Thin application clients are not packaged with JDBC provider classes. For example, the WebSphere Application Server Version 6.1 Thin application client is not packaged with Cloudscape version 10.1 classes. Likewise, the version 6.0.2 Thin application client is not packaged with Cloudscape Version 5.1 or Cloudscape Version 10.0 classes. Therefore, to utilize the JDBC provider classes (such as Cloudscape, Oracle, DB2, Informix, or Sybase) on a thin client, you must:
  1. Add the classes to your Thin application client environment.
  2. Make the classes visible to the Thin application client. To do this, add the path to the classes in the client classpath within the script that launched the client program.
Otherwise, any attempt to load a database class (such as through the JNDI lookup of a datasource) results in a ClassNotFoundException.
The Java invocation to run a Thin application client varies between a client and a server. If your Thin application client needs to run on both a client installation and a server installation, follow the steps for developing Thin application clients on a server machine.

Procedure

  1. Install the Thin application client by selecting option J2EE and Thin application client from the Application Client for WebSphere Application Server installation.
  2. Perform one of the following:

Example

View the Samples gallery for more information about the Application Client.




Sub-topics
Running Thin application client code on a client machine
Running Thin application client code on a server machine
Related concepts
Thin application clients
Related tasks
Planning to install WebSphere Application Client
Developing applications that use JNDI
Task topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tcli_developthin.html

© Copyright IBM Corporation 2004, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)