|
Enterprise JavaBeans Samples
Enterprise JavaBeans (EJB) is an architecture
for component-based distributed computing by Sun Microsystems.
The Enterprise JavaBeans (EJB) section contains a series of samples
applications describing how to build and deploy applications in
Oracle9i
Containers for J2EE (OC4J).
EJB 3.0 Samples and HowTo's
Learn a variety of EJB 3.0 coding techniques in this extensive library of HowTo's.
See Samples
EJB Sample Application
[01-Nov-2003]
This sample application demonstrates the EJB capabilities
of Oracle Application Server.
Download
Now (ZIP)
EJB QL Sample Application [11-Aug-2003]
Redhat Linux Certified
With the help of a 'Credit Card Accounts
System' scenario, this application illustrates Date extensions
to EJB-QL in OC4J. The application also illustrates a wide range
of EJB QL queries as well as ejbSelect methods with EJB-QL..
Download
Now (ZIP, 82KB)
Readme
Source: InvokeEJB,
UserAccountBean
OC4J-JMS Chat Sample Application
[28-Aug-2003]
Redhat Linux Certified
With the help of a Chat scenario, this
sample application demonstrates how to use and configure in-memory
queues with OC4J JMS. The sample application also demonstrates
the use of Message Driven Beans.
Download
Now (ZIP, 48KB)
Readme
Source
Message-Driven Beans with Oracle JMS
[28-Apr-2003]
This sample demonstrates a simple Message-Driven
Bean which is configured to receive messages via Oracle JMS from
the Oracle Advanced Queueing messaging provider.
Download
Now (ZIP, 48KB)
Readme
Hotel Reservation System using EJB
and Oracle Advanced Queuing [03-Feb-2003]
Oracle Advanced Queuing allows applications
to function in a non-blocking manner thereby increasing the performance
and for building loosely coupled applications. This sample implements
a Hotel Reservation System using the above mentioned technologies.
Download
Now (ZIP, 93KB)
Readme
Hotel Reservation System using
EJB [23-Dec-2002]
The application implements an EJB component, HotelSystemBean which
is used by the client applications, to perform hotel reservation
and enquiry on all the hotels in the System.
Download
Now (ZIP, 94KB)
Readme
EJB - Java Stored Procedure Communication
[23-Dec-2002]
This sample shows how to communicate with a Java Stored Procedure
running on the database from an EJB running on OracleAS.
Download
Now (ZIP, 29KB)
Readme
EJB Transactions
[23-Dec-2002]
This sample illustrates an EJB transaction (bean-managed) that
spans two database schemas by using Database Links to reference
the second schema. This sample also demonstrates how to handle
transactions using server side Java Transaction Service (JTS).
Download
Now (ZIP, 30KB)
Readme
Hotel Reservation System using
BC4J [23-Dec-2002]
This sample implements Hotel Reservation System using Oracle BC4J
.
Download
Now (ZIP, 168KB)
Readme
EJB and Clients
This sample shows how to wrap an Entity Bean with a Session Bean
and add simple business rules. It also shows how to build various
clients (Servlet, Swing, and command line) to access the remote
EJB.
Note: This sample workspace
contain a SQL script for installing the Sample schemas HR and
OE. It is a prerequisite to run the sample. Download(ZIP,
81 KB) Readme
Download
Now (ZIP, 54KB)
Readme
Active Components for J2EE - Coordinating Long Running,
Asychronous Application Interactions
This sample demonstrates Active Containers for J2EE (AC4J) capability
to implement long-running, asynchronous interactions between loosely-coupled
applications. In this demo a client makes an asynchronous call
to a PurchaseOrder service. The PurchaseOrder service processes
the client's request by creating a new Order Entity Bean and by
executing two parallel, asynchronous requests to the Inventory
service and Credit service in order to validate the order request.
After that it makes an asynchronous call to the client, providing
it with the PO number resulting from the previous step. Once the
PurchaseOrder service receives confirmation from the other two
services, it completes processing of the order request originally
made by the client. During the order processing, the client can
actively monitor the status of his order request based on the
PO number send to him by the PurchaseOrder service. See the install
note in the JAR file for installation instructions.
Download
Now (ZIP, 103KB)
Readme
|