Oracle9i Enterprise JavaBeans Developer's Guide and Reference
Release 1 (9.0.1)

Part Number A90188-01
Go To Documentation Library
Go To Product List
Book List
Go To Table Of Contents
Go To Index

Master Index


Go to previous page Go to next page


This guide gets you started building Enterprise JavaBeans for Oracle9i. It includes many code examples to help you develop your application.

Who Should Read This Guide?

Anyone developing server-side Enterprise JavaBeans for Oracle9i will benefit from reading this guide. Written especially for programmers, it will also be of value to architects, systems analysts, project managers, and others interested in network-centric database applications. To use this guide effectively, you must have a working knowledge of Java and Oracle9i.

Prerequisite Reading

Before consulting this Guide, you should read the following:

Suggested Reading

Online Sources

There are many useful online sources of information about Java. For example, you can view or download guides and tutorials from the Sun Microsystems home page on the Web:

The current 1.1 EJB specification is available at:

Another popular Java Web site is:

For Java API documentation, see:

A white paper by Anne Thomas of the Patricia Seybold group (paper sponsored by Sun Microsystems) is available at:

Related Publications

Occasionally, this guide refers you to the following Oracle publications for more information:

Oracle9i Application Developer's Guide - Fundamentals

Oracle9i Java Developer's Guide

Oracle9i Java Tools Reference

Oracle9i JDBC Developer's Guide and Reference

Oracle9i SQL Reference

Oracle9i SQLJ Developer's Guide and Reference

How This Guide Is Organized

This guide consists of the following:

Chapter 1, "Oracle9i Overview", presents a brief overview of the EJB development model from an Oracle9i perspective.

Chapter 2, "Oracle9i Enterprise JavaBeans", discusses EJB development for the Oracle9i server. Although this chapter is not a tutorial on EJB, it contains some of the basic EJB concepts included in the Sun Microsystems specification. The examples focus on a session bean implementation.

Chapter 3, "Configuring IIOP Applications", describes the configuration required to execute an EJB within the database.

Chapter 4, "Entity Beans", describes how to implement an entity bean. This details both a container-managed persistent and a bean-managed persistent model for entity beans.

Chapter 5, "JNDI Connections and Session IIOP Service", covers session management, the session IIOP service and the JNDI namespace. This chapter contains examples and scenarios for accessing EJBs deployed within the server using JNDI and the session IIOP service.

Chapter 6, "IIOP Security", discusses security options for authentication.

Chapter 7, "Transaction Handling", documents the JTA transaction interfaces that you use when developing EJBs.

Appendix A, "XML Deployment Descriptors" describes both the EJB and Oracle-specific deployment descriptors. This appendix contains the full details and semantics for all elements contained within both deployment descriptors.

Appendix B, "Example Code: EJB", includes examples of EJB applications.

Appendix C, "Abbreviations and Acronyms", supplies a convenient list of acronyms.

Documentation Accessibility

Oracle's goal is to make our products, services, and supporting documentation accessible to the disabled community with good usability. 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. 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.

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

For additional information, visit the Oracle Accessibility Program web site at

Notational Conventions

This guide follows these conventions:


Italic font denotes terms being defined for the first time, words being emphasized, error messages, and book titles.


Courier font denotes Java program names, file names, path names, and Internet addresses.

Java code examples follow these conventions:

{ }

Braces enclose a block of statements.


A double slash begins a single-line comment, which extends to the end of a line.

/*  */

A slash-asterisk and an asterisk-slash delimit a multi-line comment, which can span multiple lines.


An ellipsis shows that statements or clauses irrelevant to the discussion were left out.

lower case

Lower case is used for keywords and for one-word names of variables, methods, and packages.


Upper case is used for names of constants (static final variables) and for names of supplied classes that map to built-in SQL datatypes.

Mixed Case

Mixed case is used for names of classes and interfaces and for multi-word names of variables, methods, and packages. The names of classes and interfaces begin with an upper-case letter. In all multi-word names, the second and succeeding words also begin with an upper-case letter.

Go to previous page Go to next page
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Go To Product List
Book List
Go To Table Of Contents
Go To Index

Master Index