+

Search Tips   |   Advanced Search

Running Java thin client applications


We can run Java thin client applications on machines installed with either a WebSphere Application Client installation or a WAS installation.

Java thin clients are not packaged with JDBC provider classes. For example, the WAS Version 7.0 Java thin client is not packaged with Apache Derby 10.2 classes. Likewise, the version 6.1 Java thin client is not packaged with Cloudscape V5.1, Cloudscape V 10.0, or Cloudscape version 10.1 classes. Therefore, to utilize the JDBC provider classes (such as Apache Derby, Oracle, DB2, Informix, or Sybase) on a Java thin client, :

  1. Add the classes to the Java thin client application environment.

  2. Make the classes visible to the Java thin client application. 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 Java thin client application varies between a client and a server. If the Java thin client application needs to run on both a client installation and a server installation, follow the steps in the topic Running a Java thin client application on a server machine.

 

 

Example

For examples of Java thin client applications, see the Samples gallery.


Running a Java thin client application on a client machine
Running a Java thin client application on a server machine

 

Related concepts


Java thin client