![]() |
![]() |
|
Programming WebLogic JDBC
Contents
1. Introduction to WebLogic JDBC
WebLogic Server JDBC Type 2 Drivers
WebLogic jDriver for Microsoft SQL Server
WebLogic Server JDBC Multitier Drivers
Using Connection Pools with Server-side Applications
Using Connection Pools with Client-side Applications
Choosing the MultiPool Algorithm
WebLogic JDBC Class Definitions
2. Administration and Configuration for WebLogic JDBC
3. Performance Tuning Your JDBC Application
WebLogic Performance-Enhancing Features
How Connection Pools Enhance Performance
Caching Data in WebLogic Workspaces
Designing Your Application For Best Performance
1. Process as Much Data as Possible Inside the Database
2. Use Built-in DBMS Set-based Processing
4. Make Transactions Single-batch
5. Never Have a DBMS Transaction Span User Input
7. Keep Operational Data Sets Small
8. Use Pipelining and Parallelism
4. Configuring WebLogic JDBC Features
Setting Up WebLogic Server to Use a DataSource
Obtaining a Client Connection Using a DataSource
Creating a Connection Pool at Startup
Creating a Connection Pool Dynamically
Retrieving information About a Pool
Shutting Down a Connection Pool
Choosing the MultiPool Algorithm
Guidelines to Setting Wait For Connection Times
5. Using WebLogic Multitier JDBC Drivers
Overview of WebLogic Multitier Drivers
Setting up WebLogic Server to Use the WebLogic RMI Driver
Setting up the Client to Use the WebLogic Server
Import the Following Packages:
openObjectId rmidriver.fm:2
">Using a JNDI Lookup to Obtain the Connection 45openObjectId rmidriver.fm:2
">Using Only the WebLogic RMI Driver to Obtain the Connection 46Implementing with the JTS Driver
Using the WebLogic Pool Driver
6. Using Third-Party Drivers with WebLogic Server
Overview of Third-Party JDBC Drivers
Setting the Environment for Your Third-Party Driver
CLASSPATH for Third-Party Driver on Windows NT
CLASSPATH for Third-Party Driver on Unix
Getting a Connection with Your Third-Party Driver
Using Connection Pools With a Third-Party Driver
Create the Connection Pool and DataSource
Using a JNDI Lookup to Obtain the Connection
Example for Setting a Direct Connection
openObjectId thirdparty.fm:2
">Setting a Direct Connection with Oracle Thin Driver 55openObjectId thirdparty.fm:2
">Setting a Direct Connection with Sybase jConnect Driver 558. Using dbKona
Introduction to dbKona
dbKona in a Multitier Configuration
How dbKona and a JDBC Driver interact
How dbKona and WebLogic Events Can interact
dbKona Architecture
The dbKona API
dbKona API Reference
dbKona Objects and Their Classes
Data Container Objects in dbKona
DataSet
QueryDataSet
TableDataSet
EventfulTableDataSet
Record
Value
Data Description Objects In dbKona
Schema
Column
KeyDef
SelectStmt
Miscellaneous Objects in dbKona
Exceptions
Constants
Entity relationships
Inheritance Relationships
Possession Relationships
Implementing With dbKona
Accessing a DBMS With dbKona
Step 2. Setting Properties For Making a Connection
Step 3. Making a Connection to the DBMS
Preparing a Query, Retrieving, and Displaying data
Step 2. Creating a DataSet for the Query Results
Step 4. Examining a TableDataSet's Schema
Using a SelectStmt Object To Form a Query
Modifying DBMS Data With a SQL Statement
Step 3. Displaying the Results With htmlKona
Modifying DBMS Data With a KeyDef
Step 1. Creating a KeyDef and Building Its Attributes
Step 4. Updating a Record In the TableDataSet
Checking Record Status Before Saving
Using a JDBC PreparedStatement With dbKona
Using Stored Procedures With dbKona
Step 1. Creating a Stored Procedure
Step 2. Examining the Results
Using Byte Arrays For Images and Audio
Step 1. Retrieving and Displaying Image Data
Step 2. Inserting An Image Into a Database
Using dbKona For Oracle Sequences
Constructing a dbKona Sequence Object
9. Testing JDBC Connections and Troubleshooting
Validating a DBMS Connection from the Command Line
Troubleshooting JDBC Connections
SEGVs with JDBC and Oracle Databases
Other Problems with Oracle on UNIX
Thread-related Problems on UNIX
Troubleshooting Problems with Shared Libraries on UNIX
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|