This preface introduces you to the Oracle Database Java Developer's Guide, discussing the intended audience, structure, and conventions of this document. A list of related Oracle documents is also provided.

Java has emerged as the object-oriented programming language of choice. It provides platform independence and automated storage management techniques. It enables you to create applications and applets. Oracle Database provides support for developing and deploying Java applications.

This preface contains the following topics:

Intended Audience

The Oracle Database Java Developer's Guide is intended for both Java and non-Java developers. For PL/SQL developers who are not familiar with Java programming, this manual provides a brief overview of Java and object-oriented concepts. For both Java and PL/SQL developers, this manual discusses the following:

To use this document, you need knowledge of Oracle Database, SQL, and PL/SQL. Prior knowledge of Java and object-oriented programming can be helpful.

Documentation Accessibility

Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at

Accessibility of Code Examples in Documentation

Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.

Accessibility of Links to External Web Sites in Documentation

This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.

TTY Access to Oracle Support Services

Oracle provides dedicated Text Telephone (TTY) access to Oracle Support Services within the United States of America 24 hours a day, seven days a week. For TTY support, call 800.446.2398.


This document contains the following chapters:

Chapter 1, "Introduction to Java in Oracle Database"

Gives an overview of how to develop, load, and run Java applications in Oracle Database.

Chapter 2, "Java Applications on Oracle Database"

Describes the basic differences for writing, installing, and deploying Java applications in Oracle Database.

Chapter 3, "Calling Java Methods in Oracle Database"

Gives and overview and examples of how to call Java stored procedures in the database.

Chapter 4, "Java Installation and Configuration"

Describes the procedure for installing and configuring the Oracle JVM.

Chapter 5, "Developing Java Stored Procedures"

Describes developing of Java stored procedures, which access the database.

Chapter 6, "Publishing Java Classes With Call Specifications"

Describes how to publish methods with call specifications, which map Java method names, parameter types, and return types to their SQL counterparts.

Chapter 7, "Calling Stored Procedures"

Demonstrates how to call Java stored procedures in various contexts.

Chapter 8, "Java Stored Procedures Application Example"

Demonstrates the building of a Java application with stored procedures.

Chapter 10, "Security for Oracle Database Java Applications"

Details the security support available for Java application within Oracle Database.

Chapter 9, "Oracle Database Java Application Performance"

Describes how to increase Java application performance with natively compiled code and Java memory usage.

Chapter 11, "Schema Objects and Oracle JVM Utilities"

Describes the schema objects used in the Oracle Database Java environment and the Oracle JVM utilities.

Chapter 12, "Database Web Services"

Describes database Web services and Web services call-outs.

Appendix A, "DBMS_JAVA Package"

Describes the DBMS_JAVA package.

Related Documents

For more information, refer to the following Oracle resources:


The following conventions are also used in this manual:

Convention Meaning
. . . Vertical ellipsis points in an example mean that information not directly related to the example has been omitted.
. . . Horizontal ellipsis points in statements or commands mean that parts of the statement or command not directly related to the example have been omitted
boldface text Boldface type in text indicates a term defined in the text, the glossary, or in both locations.
< > Angle brackets enclose user-supplied names.
[ ] Brackets enclose optional clauses from which you can choose one or none.