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
WebSphere Application Server supports the pluggable
client.
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. Therefore, to utilize the JDBC
provider classes (such as Cloudscape, Oracle, DB2, Informix, or Sybase)
on a thin client, you must:
Note:
- Add the classes to your Thin application client environment.
- 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
- Install the Thin application client by selecting option J2EE
and Thin application client from the Application Client for WebSphere
Application Server installation.
- Perform one of the following:
Example
View the Samples
gallery for more information about the Application Client.
Note: WebSphere Application Server Version
6.1 and the Application client for WebSphere Application
Server Version 6.1 also provides specialized types of Thin application
client. The Web Services Thin Client is an unmanaged, stand-alone
Java client environment that allows you to run JAX-RPC Web services
client applications to invoke Web services that are hosted by the
application server. The Administration Thin Client enables client
applications to perform administration tasks outside of the application
server environment.
newfeatWebSphere Application Server Version
6.1 Feature Pack for Web Services provides the Thin Client for JAX-WS
with WebSphere Application Server. The Thin Client for JAX-WS is an
unmanaged, stand-alone Java client environment that allows you to
run JAX-WS Web services client applications to invoke Web services
that are hosted by the application server.