EasyBeans Developer's guide

Florent BENOIT

EasyBeans
OW2 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: developerguide.xml 216 2006-03-16 19:01:07Z benoitf $

Abstract

The EasyBeans developer guide is intended for developers wanting to work with the source distribution of EasyBeans. People wanted to contribute to EasyBeans should read this documentation.


Table of Contents

1. Building EasyBeans From Source.
1.1. Requirements
1.1.1. JDK
1.1.2. Maven
1.1.3. Ant
1.1.4. TestNG
1.1.5. Clover
1.2. Optional Requirements
1.2.1. Eclipse
1.2.2. Eclipse Plugins
1.2.2.1. Checkstyle Plugin
1.2.2.2. AnyEdit Plugin
1.2.2.3. Asm Plugin
1.2.2.4. TestNG Plugin
1.3. Compiling EasyBeans
1.4. Maven assemblies
1.4.1. End-User assemblies
1.4.1.1. Jetty
1.4.1.2. JOnAS
1.4.1.3. Tomcat
1.4.1.4. UberJar
1.4.2. Java EE modules assemblies
1.4.2.1. War module
1.4.2.2. Rar module
2. Getting EasyBeans From the SVN Repository
3. Running EasyBeans server.
3.1. Requirements
3.2. Running
4. Using the Examples
4.1. Compiling the Examples
4.1.1. Requirements
4.1.2. Compile
4.2. Running Examples
4.2.1. Stateless Session Bean
4.2.1.1. Description
4.2.1.2. Running the Server
4.2.1.3. Deploying the Bean
4.2.1.4. Running the Client
4.2.2. Stateful Session Bean
4.2.2.1. Description
4.2.2.2. Running the Server
4.2.2.3. Deploying the Bean
4.2.2.4. Running the Client
4.2.3. Entity Bean
4.2.3.1. Description
4.2.3.2. Running the Server
4.2.3.3. Deploying the Bean
4.2.3.4. Running the Client
4.2.3.5. Properties for the persistence
4.2.4. Message Driven Bean
4.2.4.1. Description
4.2.4.2. Running the Server
4.2.4.3. Deploying the Bean
4.2.4.4. Running the Client
4.2.5. Timer example
4.2.5.1. Description
4.2.5.2. Running the server
4.2.5.3. Deploying the Bean
4.2.5.4. Running the Client
4.2.6. Security example
4.2.6.1. Description
4.2.6.2. Running the Server
4.2.6.3. Deploying the Bean
4.2.6.4. Running the Client
4.2.7. Pool example
4.2.7.1. Description
4.2.7.2. Running the Server
4.2.7.3. Deploying the Bean
4.2.7.4. Running the Client
4.2.8. Migration EJB 2.1/3.0 example
4.2.8.1. Description
4.2.8.2. Running the Server
4.2.8.3. Deploying the Bean
4.2.8.4. Running the Client
4.2.9. EAR example
4.2.9.1. Description
4.2.9.2. Running the Server
4.2.9.3. Deploying the EAR
4.2.9.4. Using the Client
5. EasyBeans Code Convention
5.1. File Organization
5.1.1. Header
5.1.2. Imports
5.1.3. Class and Interface Declarations
5.2. Indentation / WhiteSpace
5.2.1. Indentation
5.2.2. WhiteSpace
5.3. JavaDoc Comments
5.4. Statements
5.4.1. If/else
5.4.2. Try/catch
5.4.3. Inline Conditionals
5.4.4. Naming Conventions
5.4.4.1. Static Final Attributes
5.4.4.2. Constants
5.4.4.3. No Magic Numbers, Use Constants
5.4.4.4. Attribute Name
6. Contributing to EasyBeans
6.1. Mailing Lists
6.2. Ideas for Contributing