Chapter 4. Writing an HelloWorld bean

Table of Contents

4.1. Requirements
4.2. Writing the bean's code
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's code
4.4. Writing my first business method interceptor
4.5. Writing my first lifecycle interceptor

4.1. Requirements

This example shows the basis of an EJB3 application with all steps used to build and run the EJB.

The only thing to know is how to run the server.