Oracle8i Java Developer's Guide
Release 2 (8.1.6)

A81353-01

Library

Product

Index

Next

Contents

Title and Copyright Information

Send Us Your Comments

Preface

1 Introduction to Java in Oracle8i

Contents
Overview of Java
Java and Object-Oriented Programming Terminology
Class Hierarchy
Interfaces
Polymorphism
The Java Virtual Machine (JVM)
Key Features of the Java Language
Why Use Java in Oracle8i?
Multithreading
Automated Storage Management
Footprint
Performance
Dynamic Class Loading
Oracle's Java Application Strategy
Java Stored Procedures
PL/SQL Integration and Oracle RDBMS Functionality
Distributed Application Development
Development Tools
Overview of Oracle8i Java Documentation

2 Writing Java Applications on Oracle8i

Overview
Database Sessions Imposed on Java Applications
Session Lifetime
Java Supported APIs
Execution Control
Migrating from JDK 1.1 to Java 2
Your Development Environment
JDBC 2.0
Java 2 Security
Java 2 ORB APIs
Java Code, Binaries, and Resources Storage
Preparing Java Class Methods for Execution
Compiling Java Classes
Resolving Class Dependencies
Loading Classes
How to Grant Execute Rights
Checking Java Uploads
Publishing
User Interfaces on the Server
Shortened Class Names
Class.forName() on JServer
Supply the ClassLoader in Class.forName
Supply Class and Schema Names to classForNameAndSchema
Supply Class and Schema Names to lookupClass
Supply Class and Schema Names when Serializing
Class.forName Example
Managing Your Operating System Resources
Overview of Operating System Resources
Garbage Collection and Operating System Resources
Operating System Resources Affected Across Calls
Threading in JServer

3 Invoking Java in the Database

Overview
Invoking Java Methods
Utilizing Java Stored Procedures
Utilizing Distributed Objects With CORBA and EJB
Utilizing Remote Method Invocation (RMI)
Utilizing Java Native Interface (JNI) Support
Utilizing SQLJ and JDBC for Querying Database
An Example Comparing JDBC and SQLJ
Complete SQLJ Example
Debugging Server Applications
Overview
1. Start the Debug Proxy
2. Starting, Stopping, and Restarting the Debug Agent
3. Connecting a Debugger
How To Tell You Are Executing in the Server
Redirecting Output on the Server

4 Java Installation and Configuration

Initializing a Java-Enabled Database
Manual Install
Requirements
Package DBMS_JAVA
Configuring JServer
Java Stored Procedure Configuration
Enterprise JavaBeans and CORBA Configuration
Enabling the Java Client
1. Install JDK on the Client
2. Set up CLASSPATH
3. Verify the Port/SID
4. Test Install with Samples

5 Security and Performance

Security
Network Connection Security
Database Contents and JVM Security
Setting Permissions
Debugging Permissions
Permission for Loading Classes
Performance
Natively Compiled Code
Java Memory Usage
End-of-Call Migration

A Tools

Schema Object Tools
What and When to Load
Resolution
Digest Table
Compilation
loadjava
dropjava

Glossary



Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Index