Configuring data access for the application client
Configuring data access for the application client involves specifying the resource reference and associated database information required for data access. This specification is done as part of the assembly and deployment steps for the application client.
About this task
- An assembly tool for defining the resource reference in the deployment descriptor; and
- The Application Client Resource Configuration Tool (ACRCT) for defining the connection to the database in the client deployment environment.
Data access from an application client uses the JDBC driver connection functions directly from the client side. It does not take advantage of the additional pooling support available in the WebSphere® Application Server run time. Configuring data access for an application client does not require configuration of a JDBC provider and data source on the WebSphere Application Server server machine.
If you want to take advantage of the pooling and additional database functions provided by the product, it is recommended that your client application utilize an enterprise bean running on the server side to perform data access.
Defining an application client resource reference using an assembly tool
Procedure
Results
Client configuration with the ACRCT
About this task
- Java 2 Connector (J2C) objects
- Connection manager objects
The Application Client does not provide client database drivers. If your client application uses a database directly, rather than using an enterprise bean, you must provide the database drivers on the client machine. This action can involve contacting your database vendor to acquire client database driver code and licenses.
Instead of accessing the database directly, it is recommended that your client application use an enterprise bean. Accessing a database through an enterprise bean eliminates the need to have database drivers on the client machine because the database access is handled by the enterprise bean running on the application server. Enterprise beans can also take advantage of the additional database functions provided by the run time.