Oracle Database Java Developer's Guide - Oracle Documentation

DOWNLOAD EBOOK HERE



CONTENS

Send Us Your Comments
Preface                                                                                                                                       
Intended Audience                                                                                                                   
Documentation Accessibility
Structure
Related Documents
Conventions
1  Introduction to Java in Oracle Database
Overview of Java  
Java and Object-Oriented Programming Terminology
Classes.

Objects
Interfaces
Encapsulation
Inheritance\
Polymorphism.\
Key Features of the Java Language\
The JVM
Java Class Hierarchy
Using Java in Oracle Database
Java and RDBMS: A Robust Combination\
Multithreading
Automated Storage Management With Garbage
CollectionFootprint
Performance
Dynamic Class Loading
The Oracle JVM 
Process Area
The main() Method
The GUI
The IDE
Main Components of the Oracle JVM    
Library Manager

 Compiler
Interpreter
Class Loader
Verifier
Server-Side JDBC Internal Driver
Server-Side SQLJ Translator
Java Application Strategy of Oracle   
Java in Database Application Development
Java Programming Environment
Java Stored Procedures
PL/SQL Integration and Oracle RDBMS Functionality
JDBC Drivers
SQLJ
JPublisher
Development Tools
Desupport of J2EE Technologies in the Oracle Database
Memory Model for Dedicated Mode Sessions      
What's New in this Release?    
Upgrading to J2SE 1.4.2
Auditing SQL Statements Related to Java Schema Objects
The PGA_AGGREGATE_TARGET parameter
2  Java Applications on Oracle Database
Database Sessions Imposed on Java Applications       
Execution Control  
Java Code, Binaries, and Resources Storage    
Preparing Java Class Methods for Execution   
Compiling Java Classes
Compiling Source Through javac6
Compiling Source Through loadjava
Compiling Source at Run Time
Specifying Compiler Options
Recompiling Automatically
Resolving Class Dependencies
Loading Classes
Granting Execute Rights
Controlling the Current User
Checking Java Uploads
Publishing
Auditing
User Interfaces on the Server   
Shortened Class Names
Class.forName() in Oracle Database
Supply 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



iv

 Class.forName Example
Managing Your Operating System Resources     
Overview of Operating System Resources
Garbage Collection and Operating System Resources
Threading in Oracle Database   
Shared Servers Considerations   
End-of-Call Migration
Oracle-Specific Support for End-of-Call Optimization
The EndOfCallRegistry.registerCallback() Method
The EndOfCallRegistry.runCallbacks() Method
The Callback Interface\\
The Callback.act() method
Operating System Resources Affected Across Calls
3  Calling Java Methods in Oracle Database
Invoking Java Methods   
Utilizing Java Stored Procedures
Utilizing JNI Support
Utilizing SQLJ and JDBC for Querying the Database
JDBC
SQLJ
Example Comparing JDBC and SQLJ
Complete SQLJ Example
SQLJ Strong Typing Paradigm
Translating a SQLJ Program
Running a SQLJ Program in the Server
Converting a Client Application to Run on the Server
Interacting with PL/SQL
Debugging Server Applications    
How To Tell You Are Running on the Server
Redirecting Output on the Server    
Support for Calling Java Stored Procedures Directly     
Using the Native Java Interface
4  Java Installation and Configuration
Initializing a Java-Enabled Database   
Configuring with Oracle Database Template
Modifying an Existing Oracle Database to Include Oracle JVM
Configuring Oracle JVM
Using The DBMS_JAVA Package   
Enabling the Java Client   
Install J2SE on the Client
Set Up Environment Variables
Test Install with Samples
 ......................