Skip Headers

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

Part Number A95881-01
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Index
Index

Go to next page

Contents

Title and Copyright Information

Send Us Your Comments

Preface

1 EJB Overview

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 Enterprise JavaBeans
Create the Deployment Descriptor
Archive the EJB Application
Prepare the EJB Application for Assembly
Modify Application.XML
Create the EAR File
Deploy the Enterprise Application to OC4J
Using ADMIN.JAR To Modify SERVER.XML
Updating SERVER.XML Manually
Verifying Deployment

3 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
Advanced Finder Methods
Object-Relational Mapping of Persistent Fields

4 BMP Entity Beans

Creating BMP Entity Beans
Remote and Home Interface
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

5 Message-Driven Beans

Creating Message Driven Beans
Bean Class Implementation
Configuring XML Files
Deploying the Entity Bean
Client Accessing MDB

6 Advanced EJB Subjects

Accessing EJBs
EJB Reference Information
Setting JNDI Properties
Using the Initial Context Factory Classes
Accessing an EJB in a Remote Server
Reusing or Dedicating Connections
Location of Commonly-Used Classes Through Parent
Changing XML Files After Deployment
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
Configuring Security
Users, Groups, and Roles
Default Role Mapping
Authenticating EJB Clients
Common Errors
NamingException Thrown
Deadlock Conditions

7 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

8 Active Components For Java

Future Needs of Business Applications
Current Programming Models
Remote Procedure Call Model
Database Transactional Queuing Model
AC4J Framework
AC4J Architecture
Introduction to AC4J Components
Active EJBs
Interactions
Processes
Reactions
Data Tokens
Databus
Set Up Oracle Database For AC4J Support
AC4J Databus 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
Receive Response by the Client
AC4J Active EJB Deployment

A OC4J-Specific DTD Reference

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

B 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 Documentation Library
Home
Go To Product List
Solution Area
Go To Index
Index