Data Sources
WebLogic Server maintains a pool of reusable physical database connections to minimize the overhead involved in connecting to a database. All the connections in a pool connect to the same database and use the same username and password for the connections. In order for a Java application to talk to a database, it must first open a connection to the database. Java programs open a connection by using the java.sql.Connection interface. Once the application opens a connection, it can then create statement objects and manage transactions. Clients obtain a Connection object when they request a connection from the connection pool. A Connection object is a logical representation of the actual physical database connection. WebLogic maintains ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access