EasyBeans User's guide

Florent BENOIT

EasyBeans
ObjectWeb consortium

This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license,visit http://creativecommons.org/licenses/by-sa/2.0/deed.en or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

$Id: userguide.xml 283 2006-03-29 12:45:33Z studzine $

Abstract

The EasyBeans user guide is intended for developers wanting to develop EJB3 applications.


Table of Contents

1. Introduction to EJB3
1.1. Overview
1.2. The Advantage of EJB3
1.3. EJB2 vs EJB3: EoD
1.4. New Features
1.4.1. Metadata Annotations
1.4.2. Business Interceptors
1.4.3. Lifecycle Interceptors
1.4.4. Dependency Injection
1.4.5. Persistence
2. Getting EasyBeans From the SVN Repository
3. Using the Examples
3.1. Compiling the Examples
3.1.1. Requirements
3.1.2. Compile
3.2. Running Examples
3.2.1. Stateless Session Bean
3.2.1.1. Description
3.2.1.2. Running the Server
3.2.1.3. Deploying the Bean
3.2.1.4. Running the Client
3.2.2. Stateful Session Bean
3.2.2.1. Description
3.2.2.2. Running the Server
3.2.2.3. Deploying the Bean
3.2.2.4. Running the Client
3.2.3. Entity Bean
3.2.3.1. Description
3.2.3.2. Running the Server
3.2.3.3. Deploying the Bean
3.2.3.4. Running the Client
4. Writing a HelloWorld bean
4.1. Requirements
4.2. Writing Code for the Bean
4.2.1. Writing the Interface
4.2.2. Writing the Business Code
4.2.3. Defining It as a Stateless Session Bean
4.2.4. Packaging the Bean
4.3. Writing the Client Code
4.4. Writing a First Business Method Interceptor
4.5. Writing a First Lifecycle Interceptor