Data sources

As defined in the Sun JDBC 2.0 Standard Extension specification, data sources allow you to manage a pool of connections to a database. Using connection pools provides you with the following advantages:

Data sources work as follows:

  1. When a servlet, or other client, wants to use a connection, it looks up a data source by name from a JNDI server.
  2. The data source then returns a connection to the client.
  3. If the data source has no more connections, it may ask the database manager for more connections (as long as it has not exceeded the maximum number of connections).
  4. When the client has finished with the connection, it closes the connection.
  5. The data source then returns the connection to the available pool.

You can configure data sources for WebSphere® Application Server v6.0 by using the Deployment page in the application deployment descriptor editor or using the administrative console. For WebSphere® v5.x1 test environments and servers you can configure data sources by using the Data Source page in the server editor.

Related information

Setting up a server to test data sources for WebSphere Application Server v6.0

Setting up a server to test data sources for WebSphere Application Server v5.x

1 WebSphere Application Server v5.x test environments and servers are not available in WebSphere Application Server Toolkit.
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.