This document is a resource for software developers and system administrators who develop and support applications that use the Java Database Connectivity (JDBC) API. It also contains information that is useful for business analysts and system architects who are evaluating WebLogic Server. The topics in this document are relevant during the evaluation, design, development, pre-production, and production phases of a software project.
It is assumed that the reader is familiar with Java EE and EJB concepts. This document emphasizes the value-added features provided by WebLogic Server EJBs and key information about how to use WebLogic Server features and facilities to get an EJB application up and running.
This chapter, Chapter 1, "Introduction and Roadmap," introduces the organization of this guide.
Chapter 2, "Using WebLogic JDBC in an Application," explains how to use a JDBC connection in your application.
Chapter 3, "Using DataSource Resource Definitions," explains how to use a DataSource resource definition in your application.
Chapter 4, "Performance Tuning Your JDBC Application," describes how to design JDBC connection usage in your applications for the best performance.
Chapter 5, "Using WebLogic-branded DataDirect Drivers," describes how to use WebLogic-branded DataDirect drivers in your applications.
Chapter 6, "Using WebLogic Wrapper Drivers," describes how to use some alternative drivers for getting a JDBC connection from a data source.
Chapter 7, "Using API Extensions in JDBC Drivers," describes special programming considerations for third-party drivers in your applications.
Chapter 9, "Using RowSets with WebLogic Server," describes how to use rowsets in your applications.
Chapter 10, "Troubleshooting JDBC," describes some common JDBC problems and solutions.
This document contains JDBC-specific programming information.
For comprehensive guidelines for developing, deploying, and monitoring WebLogic Server applications, see the following documents:
Configuring and Managing JDBC Data Sources for Oracle WebLogic Server is a guide to JDBC configuration and management for WebLogic Server.
Developing Applications for Oracle WebLogic Server is a guide to developing WebLogic Server applications.
Deploying Applications to Oracle WebLogic Server is the primary source of information about deploying WebLogic Server applications in development and production environments.
In addition to this document, Oracle provides a variety of JDBC code samples that show JDBC configuration and API use, and provide practical instructions on how to perform key JDBC development tasks.
MedRec is an end-to-end sample Java EE application shipped with WebLogic Server that simulates an independent, centralized medical record management system. The MedRec application provides a framework for patients, doctors, and administrators to manage patient data using a variety of different clients.
MedRec demonstrates WebLogic Server and Java EE features, and highlights Oracle-recommended best practices. MedRec is included in the WebLogic Server distribution, and can be accessed from the Start menu on Windows machines. For Linux and other platforms, you can start MedRec from the
\samples\domains\medrec directory, where
WL_HOME is the top-level installation directory for WebLogic Platform.
WebLogic Server optionally installs API code examples in the
\samples\domains\medrec directory, where
WL_HOME is the top-level directory of your WebLogic Server installation. You can start the examples server, and obtain information about the samples and how to run them from the WebLogic Server Start menu.
This release includes the following new and changed features:
For a comprehensive listing of the new WebLogic Server features introduced in this release, see What's New in Oracle WebLogic Server.
Java EE 6 provides the option to programmatically define DataSource resources for a more flexible and portable method of database connectivity. See Using DataSource Resource Definitions.
Oracle Type 4 JDBC drivers from DataDirect are now referred to as WebLogic-branded DataDirect drivers. Oracle has retired the documentation in Type 4 JDBC Drivers for Oracle WebLogic Server and no longer provides detailed information on DataDirect drivers. Oracle continues to provide information on how WebLogic-branded drivers are configured and used in WebLogic Server environments at Using WebLogic-branded DataDirect Drivers. Oracle recommends reviewing DataDirect documentation for detailed information on driver behavior, see "Progress DataDirect for JDBC User's Guide Release 4.2" and "Progress DataDirect for JDBC Reference Release 4.2" at
Secure RMI driver client communication with DataSource objects at the server level by setting the
RMI JDBC Security parameter, see Security Considerations for WebLogic RMI Drivers.
The following weblogic.jdbc.extensions interfaces and exceptions are deprecated in WebLogic Server 10.3.6.0: