Connecting to a database using the JDBC services

About this task
After the JDBC driver has been registered and loaded, the service invoker can get a connection to the database. The service invoker is not aware of how the connection is being managed. For example, it views a directly requested connection and a connection from a pool of connections in exactly the same way. It can use the following method to get a database connection:
connect(String aUser, String aPassword)