BEA Logo BEA WebLogic Enterprise Release 5.1

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

 

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

Getting Started

 

This document presents an overview of the BEA WebLogic EnterpriseTM (WLE) product and describes the development process for developing distributed CORBA and Enterprise JavaBeans (EJB) applications using the WLE software.

The Getting Started document does not discuss every feature of the WLE product; instead, it gives a general description of building a typical application or bean using the WLE programming environment. To find information about all the WLE features, see the home page of the WebLogic Enterprise online documentation.

This document is intended for programmers who want to familiarize themselves with the WLE programming environment and create either distributed CORBA or Enterprise JavaBeans applications using the WLE product.

 

Overview of the WebLogic Enterprise Product

Product Overview

J-Engine Features

T-Engine Features

 

The WebLogic Enterprise CORBA Programming Environment

Overview of the WebLogic Enterprise CORBA Programming Features

IDL Compilers

Development Commands

Administration Tools

ActiveX Application Builder

WebLogic Enterprise CORBA Object Services

WebLogic Enterprise Architectural Components

Bootstrap Object

IIOP Listener/Handler

ORB

TP Framework

How WebLogic Enterprise CORBA Client and Server Applications Interact

Step 1: The Server Application Is Initialized

Step 2: The Client Application Is Initialized

Step 3: The Client Application Authenticates Itself to the WebLogic Enterprise Domain

Step 4: The Client Application Obtains a Reference to the Object Needed to Execute Its Business Logic

Step 5: The Client Application Invokes an Operation on the CORBA Object

 

The WebLogic Enterprise JavaBeans (EJB) Programming Environment

Overview of the WebLogic Enterprise EJB Programming Environment

Types of Beans Supported in WebLogic Enterprise

EJBs and Persistence

Roles of People Who Develop, Build, Deploy, and Administer EJBs

Items You Create for an EJB Application

Tools and Facilities Provided for Building and Deploying EJBs

EJBs and Failover in the WebLogic Enterprise Environment

 

Developing WebLogic Enterprise CORBA Applications

Overview of the Development Process for WebLogic Enterprise CORBA Applications

The Simpapp Sample Application

Step 1: Write the OMG IDL Code

Step 2: Generate Client Stubs and Skeletons

Step 3: Write the Server Application

Writing the Methods That Implement Each Interface's Operations

Creating the Server Object

Defining an Object's Activation Policies

Creating and Registering a Factory

Releasing the Server Application

Step 4: Write the Client Application

Step 5: Create an XA Resource Manager

Step 6: Create a Configuration File

Step 7: Create the TUXCONFIG File

Step 8: Compile the Server Application

Step 9: Compile the Client Application

Step 10: Start the WebLogic Enterprise CORBA Application

Additional WebLogic Enterprise CORBA Sample Applications

 

Using Security

Overview of the Security Service

How Security Works

The Security Sample Application

Development Steps

Step 1: Define the Security Level in the Configuration File

Step 2: Write the CORBA Client Application

 

Using Transactions

Overview of the Transaction Service

What Happens During a Transaction

Transactions Sample Application

Development Steps

Step 1: Write the OMG IDL Code

Step 2: Define Transaction Policies for the Interfaces

Step 3: Write the CORBA Client Application

Step 4: Write the Server Application

Step 5: Create a Configuration File

 

Developing WebLogic Enterprise EJB Applications

Overview of the Development Process for WebLogic Enterprise EJB Applications

The statefulSession EJB Sample Application

Developing EJB Applications

Step 1: Create the EJB

Step 2: Create the Module Initializer Object

Step 3: Create the Deployment Descriptor

Step 4: Create a Standard EJB JAR File

Building and Deploying EJB Applications

Step 5: Create the WebLogic EJB Extensions to the Deployment Descriptor DTD

Step 6: Modify the Deployment Descriptor

Step 7: Package the Components Into a Deployable EJB JAR File

Step 8: Configure the EJB Application

Step 9: Create the Client Application

Step 10: Start and Run the WebLogic Enterprise EJB Application

Step 11: Dynamically Manage the EJB Deployment (Hot Redeployment)

WebLogic Enterprise EJB Sample Applications

 

Designing Enterprise JavaBeans for the WebLogic Enterprise System

Designing EJB Applications for the WebLogic Enterprise System

The Client Application Programmer's View

The EJB Programmer's View

EJBs and Persistence

Development Considerations for EJBs and Persistence

Container-managed Entity Beans

Bean-managed Entity Beans

Stateful Session Beans

Stateless Session Beans