Table of Contents
- List of Tables
- Title and Copyright Information
- Preface
-
1
Introduction to Java in Oracle Database
- 1.1 Changes in This Release for Oracle Database Java Developer's Guide
- 1.2 Overview of Java
- 1.3 About Using Java in Oracle Database
- 1.4 Overview of Oracle JVM
- 1.5 Feature List of Oracle JVM
- 1.6 Main Components of Oracle JVM
- 1.7 Java Programming in Oracle Database
- 1.8 Memory Model for Dedicated Mode Sessions
-
2
Java Applications on Oracle Database
- 2.1 Database Sessions Imposed on Java Applications
- 2.2 Execution Control of Java Applications
- 2.3 Java Code, Binaries, and Resources Storage
- 2.4 About Java Classes Loaded in the Database
-
2.5
Preparing Java Class Methods for Execution
- 2.5.1 Compiling Java Classes
- 2.5.2 Overview of Resolving Class Dependencies
- 2.5.3 Logging in Oracle JVM
- 2.5.4 Overview of Loading Classes Using the loadjava Tool
- 2.5.5 Overview of Granting Execute Rights
- 2.5.6 Overview of Controlling the Current User
- 2.5.7 Overview of Checking Java Uploads
- 2.5.8 About Publishing Java Methods Loaded in the Database
- 2.5.9 Overview of Auditing Java Classes Loaded in the Database
- 2.6 User Interfaces on the Server
- 2.7 Shortened Class Names
- 2.8 Class.forName() in Oracle Database
- 2.9 About Managing Your Operating System Resources
- 2.10 About Using the Runtime.exec Functionality in Oracle Database
-
2.11
Managing Your Applications Using JMX
- 2.11.1 Overview of JMX
- 2.11.2 Enabling and Starting JMX in a Session
- 2.11.3 Setting Oracle JVM JMX Defaults and Configurability
- 2.11.4 Examples of SQL calls to dbms_java.start_jmx_agent
-
2.11.5
Using JConsole to Monitor and Control Oracle JVM
- 2.11.5.1 Using the jconsole Command
- 2.11.5.2 About Using the JConsole interface
- 2.11.5.3 About Viewing Oracle JVM Summary Information
- 2.11.5.4 About Monitoring Memory Consumption
- 2.11.5.5 About Monitoring Thread Use
- 2.11.5.6 About Monitoring Class Loading
- 2.11.5.7 About Monitoring and Managing MBeans
- 2.11.5.8 About Viewing VM Information
- 2.11.5.9 The OracleRuntime MBean
- 2.11.5.10 Memory Thresholds
- 2.11.6 Important Security Notes
- 2.11.7 Shared Server Limitations for JMX
- 2.12 Overview of Threading in Oracle Database
-
2.13
Shared Servers Considerations
- 2.13.1 End-of-Call Migration
- 2.13.2 Oracle-Specific Support for End-of-Call Optimization
- 2.13.3 The EndOfCallRegistry.registerCallback() Method
- 2.13.4 The EndOfCallRegistry.runCallbacks() Method
- 2.13.5 The Callback Interface
- 2.13.6 The Callback.act() method
- 2.13.7 Operating System Resources Affected Across Calls
-
3
Calling Java Methods in Oracle Database
- 3.1 Invoking Java Methods
- 3.2 How To Tell Whether You Are Running on the Server
- 3.3 About Redirecting Output on the Server
- 4 Java Installation and Configuration
- 5 Introduction to Nashorn JavaScript Engine
- 6 Developing Java Stored Procedures
- 7 Publishing Java Classes With Call Specifications
- 8 Calling Stored Procedures
- 9 Java Stored Procedures Application Example
- 10 Oracle Database Java Application Performance
-
11
Security for Oracle Database Java Applications
- 11.1 Network Connection Security
-
11.2
Database Contents and Oracle JVM Security
- 11.2.1 Overview of Java 2 Security Features
- 11.2.2 Overview of Setting Permissions
- 11.2.3 Debugging Permissions
- 11.2.4 Permission for Loading Classes
- 11.2.5 Customizing the Default java.security Resource
- 11.3 Database Authentication Mechanisms Available with Oracle JVM
- 11.4 Secure Use of Runtime.exec Functionality in Oracle Database
- 11.5 Database Security in Multitenant Environment
- 12 Native Oracle JVM Support for JNDI
- 13 Schema Objects and Oracle JVM Utilities
- 14 Database Web Services
-
A
DBMS_JAVA Package
- A.1 longname
- A.2 shortname
- A.3 get_compiler_option
- A.4 set_compiler_option
- A.5 reset_compiler_option
- A.6 resolver
- A.7 derivedFrom
- A.8 fixed_in_instance
- A.9 set_output
- A.10 export_source
- A.11 export_class
- A.12 export_resource
- A.13 loadjava
- A.14 dropjava
- A.15 grant_permission
- A.16 grant_permission
- A.17 restrict_permission
- A.18 restrict_permission
- A.19 grant_policy_permission
- A.20 grant_policy_permission
- A.21 revoke_permission
- A.22 disable_permission
- A.23 enable_permission
- A.24 delete_permission
- A.25 set_preference
- A.26 runjava
- A.27 runjava_in_current_session
- A.28 set_property
- A.29 get_property
- A.30 remove_property
- A.31 show_property
- A.32 set_output_to_sql
- A.33 remove_output_to_sql
- A.34 enable_output_to_sql
- A.35 disable_output_to_sql
- A.36 query_output_to_sql
- A.37 set_output_to_java
- A.38 remove_output_to_java
- A.39 enable_output_to_java
- A.40 disable_output_to_java
- A.41 query_output_to_java
- A.42 set_output_to_file
- A.43 remove_output_to_file
- A.44 enable_output_to_file
- A.45 disable_output_to_file
- A.46 query_output_to_file
- A.47 enable_output_to_trc
- A.48 disable_output_to_trc
- A.49 query_output_to_trc
- A.50 endsession
- A.51 endsession_and_related_state
- A.52 set_native_compiler_option
- A.53 unset_native_compiler_option
- A.54 compile_class
- A.55 uncompile_class
- A.56 compile_method
- A.57 uncompile_method
- A.58 start_jmx_agent
- A.59 set_runtime_exec_credentials
- B DBMS_JAVASCRIPT Package
- C Classpath Extensions and User Classloaded Metadata
- Index