Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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 the pooled connections as a collection of PooledConnection objects. Behind the scenes WebLogic associates the client's Connection object to a PooledConnection object.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial