Skip Headers

Table of Contents Image Oracle9iAS Containers for J2EE Enterprise JavaBeans Developer's Guide
Release 2 (9.0.3)

Part Number A97677-01
Go To Core Documentation
Core
Go To Platform Documentation
Platform
Go To Index
Index

Go to next page

Contents

Title and Copyright Information

Send Us Your Comments

Preface

1 EJB Overview

New Features of EJB 2.0
Local Interface Support
Home Interface Business Methods
Message-Driven Beans
Enterprise JavaBeans Query Language (EJB QL)
CMP Relationships
CORBA Support - RMI-over-IIOP
Invoking Enterprise JavaBeans
Implementing an EJB
Bean Implementation
Parameter Passing
Parameter Objects
Types of EJBs
Session Beans
Entity Beans
Message-Driven Beans
Difference Between Session and Entity Beans

2 An EJB Primer For OC4J

Develop EJBs
Create the Development Directory
Implement the EJB
Create the Deployment Descriptor
Archive the EJB Application
Prepare the EJB Application for Assembly
Modify the Application.XML File
Create the EAR File
Deploy the Enterprise Application to OC4J
Access the EJB

3 CMP Entity Beans

Entity Bean Overview
Creating Entity Beans
Home Interface
Component Interfaces
Entity Bean Class
Primary Key
Defining the Primary Key in a Class
Defining an Auto-Generated Primary Key
Persistence Fields
Default Mapping of Persistent Fields to the Database
Explicit Mapping of Persistent Fields to the Database
CMP Types
Simple Data Types
Serializable Classes
Other Entity Beans or Collections

4 Entity Relationship Mapping

Defining Entity-To-Entity Relationships
Choosing Cardinality and Direction
Defining Relationships
Mapping Relationship Fields to the Database
Default Mapping of Relationship Fields to the Database
Explicit Mapping of Relationship Fields to the Database

5 EJB Query Language

EJB QL Overview
Query Methods Overview
Finder Methods
Select Methods
Deployment Descriptor Semantics
Finder Method Example
Select Method Example

6 BMP Entity Beans

Creating BMP Entity Beans
Component and Home Interfaces
BMP Entity Bean Implementation
The ejbCreate Implementation
The ejbFindByPrimaryKey Implementation
Other Finder Methods
The ejbStore Implementation
The ejbLoad Implementation
The ejbPassivate Implementation
The ejbActivate Implementation
The ejbRemove Implementation
Modify XML Deployment Descriptors
Create Database Table and Columns for Entity Data

7 Message-Driven Beans

MDB Overview
Creating MDBs
Install And Configure The Resource Provider
Bean Class Implementation
Configure Deployment Descriptors
Deploy the Entity Bean
Accessing MDBs
Using Logical Names in the JMS JNDI Lookup

8 Advanced EJB Subjects

Accessing EJBs
Client Installation of OC4J.JAR
EJB Reference Information
Setting JNDI Properties
Configuring RMI or JMS Port for Standalone EJB Clients
Using the Initial Context Factory Classes
Accessing an EJB in a Remote Server
Packaging and Sharing Classes
Entity Bean Concurrency and Database Isolation Modes
Database Isolation Modes
Entity Bean Concurrency Modes
Exclusive Write Access to the Database
Effects of the Combination of Isolation and Concurrency Modes
Affects of Concurrency Modes on Clustering
Configuring Pool Sizes For Entity Beans
Techniques for Updating Persistence
Configuring Environment References
Environment variables
Environment References To Other Enterprise JavaBeans
Environment References To Resource Manager Connection Factory References
Configuring Security
Granting Permissions in Browser
Authenticating and Authorizing EJB Applications
Specifying Credentials in EJB Clients
Setting Performance Options
Performance Command-Line Options
Thread Pool Settings
Statement Caching
Task Manager Granularity
Using DNS for Load Balancing
Common Errors
NamingException Thrown
Deadlock Conditions
ClassCastException

9 EJB Clustering

EJB Clustering Overview
Stateless Session Bean Clustering
Stateful Session Bean Clustering
Entity Bean Clustering
Combination of HTTP and EJB Clustering
Enabling Clustering For EJBs
Configure Nodes With Multicast Address and Identifier
EJB Replication Configuration
Deploy EJB Application To All Nodes
Application Client Retrieval Of Clustered Nodes
Load Balancing Options

10 Active Components for Java

Future Needs of Business Applications
Architectures
Remote Procedure Call Model
Database Transactional Queueing Model
AC4J Solution
AC4J Architecture
Introduction to AC4J Components
Active EJBs
Interaction
Processes
Reactions
Data Tokens
Data Bus
Configuring Oracle Databases to Support AC4J
AC4J Data Bus XML Configuration
AC4J Example
Asynchronous Request to An Active EJB
Active EJB Processes the Client's Request
Asynchronous Response to the Requesting Active EJB
Asynchronous Response to the Client
Response from the Client
AC4J Active EJB Deployment
Administering AC4J
Administering Oracle Databases to Support AC4J
Description of the JEM PL/SQL package
Description of the createDatabusTpc Package Public Method
Description of the dropDatabusTpc Package Public Method
Description of the JEM Schema Objects

A EJB 1.1 CMP Entity Beans

Creating Entity Beans
Home Interface
Remote Interface
Entity Bean Class
Persistent Data
Primary Key
Deploying the Entity Bean
Advanced CMP Entity Beans
EJB 1.1 Advanced Finder Methods
EJB 1.1 Object-Relational Mapping of Persistent Fields

B OC4J-Specific DTD Reference

OC4J-Specific Deployment Descriptor for EJBs
Enterprise Beans Section
Assembly Descriptor Section
Element Description

C Third Party Licenses

Apache HTTP Server
The Apache Software License
Apache JServ
Apache JServ Public License

Index


Go to next page
Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.
Go To Core Documentation
Core
Go To Platform Documentation
Platform
Go To Index
Index