BEA Logo BEA WebLogic Enterprise Release 5.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   WebLogic Enterprise Doc Home   |   Samples & Related Topics   |   Previous Topic   |   Next Topic   |   Contents   |   Index

Guide to the EJB Sample Applications

 

This document describes how programmers can implement key features in the BEA WebLogic EnterpriseTM (WLE) product to design and implement scalable, high-performance, C++ server applications that run in a WLE domain.

This document is intended for programmers who are interested in creating secure, scalable, transaction-based server applications. It assumes you are knowledgeable with the BEA Tuxedo system, Enterprise JavaBeans, and Java programming.

 

EJB Samples Overview

EJB Sample Applications Provided with WebLogic Enterprise

EJB Samples Javadoc

Before you Build and Run the EJB Sample Applications

Restoring the Sample Applications Directory to Its Original State

 

Stateless Session Bean Sample Application

How the Stateless Session Bean Sample Works

Building and Running the Stateless Session Bean Sample

Verifying the Settings of the Environment Variables

Verifying the Environment Variables

Changing the Environment Variables

Copying the Files for the Stateless Session Bean Sample Application into a Work Directory

Sample Application Files

Utility Files

Changing the Protection Attribute on the Files for the Stateless Session Bean Sample Application

Executing the runme Command

Running the Sample Manually

Processes and Files Generated by the Sample Application

Stopping the Sample Application

Stateless Session Bean Javadoc

 

Stateful Session Bean Sample Application

How the Stateful Session Bean Sample Works

Building and Running the Stateful Session Bean Sample

Verifying the Settings of the Environment Variables

Verifying the Environment Variables

Changing the Environment Variables

Copying the Files for the Stateful Session Bean Sample Application into a Work Directory

Sample Application Files

Utility Files

Changing the Protection Attribute on the Files for the Stateful Session Bean Sample Application

Executing the runme Command

Running the Sample Manually

Processes and Files Generated by the Sample Application

Stopping the Sample Application

Stateful Session Bean Javadoc

 

JDBC Sequence Bean Sample Application

How the JDBC Sequence Bean Sample Works

Building and Running the JDBC Sequence Bean Sample

Verifying the Settings of the Environment Variables

Verifying the Environment Variables

Changing the Environment Variables

Copying the Files for the JDBC Sequence Bean Sample Application into a Work Directory

Sample Application Files

Utility Files

Changing the Protection Attribute on the Files for the JDBC Sequence Bean Sample Application

Creating Database Records to Use With the Sample

Executing the runme Command

Running the Sample Manually

Processes and Files Generated by the Sample Application

Stopping the Sample Application

JDBC Sequence Bean Javadoc

 

Oracle Sequence Bean Sample Application

How the Oracle Sequence Bean Sample Works

Building and Running the Oracle Sequence Bean Sample

Verifying the Settings of the Environment Variables

Verifying the Environment Variables

Changing the Environment Variables

Copying the Files for the Oracle Sequence Bean Sample Application into a Work Directory

Sample Application Files

Utility Files

Changing the Protection Attribute on the Files for the Oracle sequence Bean Sample Application

Creating Database Records to Use With the Sample

Executing the runme Command

Running the Sample Manually

Processes and Files Generated by the Sample Application

Stopping the Sample Application

Oracle Sequence Bean Javadoc

 

Parent Bean Sample Application

How the Parent Bean Sample Works

Building and Running the Parent Bean Sample

Verifying the Settings of the Environment Variables

Verifying the Environment Variables

Changing the Environment Variables

Copying the Files for the Parent Bean Sample Application into a Work Directory

Sample Application Files

Utility Files

Changing the Protection Attribute on the Files for the Parent Bean Sample Application

Executing the runme Command

Running the Sample Manually

Processes and Files Generated by the Sample Application

Stopping the Sample Application

Parent Bean Javadoc

 

Child Bean Sample Application

How the Child Bean Sample Works

Building and Running the Child Bean Sample

Verifying the Settings of the Environment Variables

Verifying the Environment Variables

Changing the Environment Variables

Copying the Files for the Child Bean Sample Application into a Work Directory

Sample Application Files

Utility Files

Changing the Protection Attribute on the Files for the Child Bean Sample Application

Executing the runme Command

Running the Sample Manually

Processes and Files Generated by the Sample Application

Stopping the Sample Application

Child Bean Javadoc

How the JNDI Utility Application Works

Building and Running the JNDI Utility Application

Copying the Files for the JNDI Utility Application into a Work Directory

Changing the Protection Attribute on the Files for the JNDI Utility Application

Compiling the Source File for the JNDI Utility Application

Running the JNDI Utility Application and Examining the Output