Skip Headers
Oracle® Database Java Developer's Guide
11g Release 1 (11.1)

B31225-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

What's New in 11g Release 1 (11.1)

The following new Java-related features have been introduced in Oracle Database 11g Release 1 (11.1):

Oracle JVM Compatibility with JDK 1.5

Sun Microsystems has introduced new features in Java Development Kit (JDK) 1.5. To support these new features and enhancements, Oracle has upgraded Oracle JVM to the latest Java 2 Platform, Standard Edition (J2SE).

Visit the following Web page to learn more about the new features introduced in JDK 1.5 :

http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html

Oracle JVM Utilities Enhancements

In this release, the following enhancements have been added to Oracle JVM Utilities:

loadjava URL Support

You can use an HTTP URL with the loadjava tool to load a JAR, class, or resource from a remote server. This feature is discussed in detail in "The loadjava Tool".

List-Based Operation with dropjava

The dropjava tool has been enhanced to provide an option that enables you to drop classes, resources, or sources based on a list of classes, which might exist on the client machine or the server machine. This feature is discussed in detail in "The dropjava Tool".

ojvmtc Tool

The ojvmtc tool enables you to close a specified set of classes, JARs, or both, and to resolve all external references, prior to running the loadjava tool. This feature is discussed in detail in "The ojvmtc Tool".

ojvmjava Tool Enhancements

The ojvmjava tool has been enhanced to:

This feature is discussed in detail in "The ojvmjava Tool".

Ease-of-Use Interface

This section contains the following information about new features regarding ease of use:

Using the Command-Line Interface

The command-line interface to Oracle JVM is analogous to using the JDK or JRE Java shell commands. This includes locating and running Java code from file-system using standard -classpath syntax and setting of system properties using standard -D syntax. This feature is discussed in detail in "Using Command-Line Interface".

Database-Resident JARs

Starting with 11g release 1 (11.1), when you load the contents of a JAR file into the database, you have the option of creating a database object representing the JAR file itself. In this way, you can retain an association between this JAR object and the class, resource, and source objects loaded from the JAR. This feature is discussed in "Database Resident JARs".

Sharing of Metadata for User Classloaded Classes

From 11g release 1 (11.1), you can share class metadata of user classloaded classes. This feature is discussed in "Sharing of Metadata for User Classloaded Classes".

Two-Tier Duration for the Java Session State

To support retention of system property settings and output specifications across Java session termination, 11g release 1 (11.1) Oracle JVM supports two-tier duration for the Java session state. This feature is discussed in "Two-Tier Duration for Java Session State".

Redirecting Output on the Server

Redirection of output on the server provides you with more extensive control over the destination of output from Oracle JVM. This feature is discussed in "Redirecting Output on the Server".

Setting System Properties

Within an RDBMS session you can maintain a set of values that are added to the system properties whenever a Java session is started in the RDBMS session. This feature is discussed in "Setting System Properties".

Using the Default Service Feature

Oracle Database 11g release 1 (11.1) introduces a new connection feature. Now, if you install Oracle Database client, then you need not specify all the details in the connection URL. This feature is discussed in "Using the Default Service Feature".

Oracle JVM Just-in-Time Compiler (JIT)

Starting with Oracle 11g release 1 (11.1), there is a just-in-time (JIT) compiler for Oracle JVM environment. A just-in-time (JIT) compiler is a program that converts Java bytecode into machine language instructions. Java programs compiled by a JIT compiler run much faster than when the bytecode is executed by an interpreter. For more information, refer to "Oracle JVM Just-in-Time Compiler (JIT)".