Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Overview of this book

Table of Contents (20 chapters)
JDBC 4.0 and Oracle JDeveloper for J2EE Development
Credits
About the Author
About the Reviewer
Preface

Chapter 5. Configuring JDBC in WebLogic Server

WebLogic Server provides database connectivity using data sources. A data source is a pool of database connections from which a connection can be obtained. A data source can be configured separately or combined with other data sources such as a multi data source. A multi data source is like a pool of data sources, configured to supply failover and load balancing across Database Management Systems. A data source is configured with a JNDI binding. A DataSource object represents a data source and is obtained using the JNDI lookup. A Connection object can be obtained from a DataSource object using the getConnection() method. WebLogic Server provides the Administration Console to configure a data source. WebLogic Server 9.x and 10.x includes Type 4 JDBC drivers, which are branded OEM versions of DataDirect drivers for DB2, Informix, MS SQL Server, Sybase, and Oracle databases. It also includes the DBMS vendor drivers from Sybase and Oracle. JDBC...