ejbhome | Cart | Account | Product | Order | Zoo | Taska Beans | XML

Tutorials

Welcome to the ejbhome tutorials. These step-by-step guides are designed to provide a practical introduction to the principles and practice of Enterprise JavaBeans.

Each tutorial is divided into lessons, which follow on from each other. However, each tutorial is self-contained and you can complete them in any order you like. At the end of each lesson you will be encouraged to test your work using an EJB compliant server. Each product is slightly different so we have put together a set of deployment instructions for each one. These are accessible at all times from the top and bottom of the page.


The Account tutorial

This tutorial will guide you through the development of an entity bean with container-managed persistence. Entity beans usually represent data in a database or other form of persistent storage. You can choose whether to look after the storage details yourself, or opt for the Container to manage this on your behalf. For this example we will keep things simple and have the container manage the bean's persistent data.


These tutorials form part of a set. It is recommended you follow them in order.

The Cart tutorial

This tutorial introduces session beans, through the development of a stateful session bean. These beans serve one client only.

The Customer tutorial

This tutorial deals with bean-managed persistent entity beans. The persistent storage system used is a typical relational database.

The Order tutorial

This tutorial brings all the techniques together to build a working order processing system. It also demonstrates how to model database entity relationships, (foreign key relationships), using Enterprise JavaBeans.


This area is for contributions by others:

The Zoo tutorial

This tutorial shows how to exploit inheritance in EJB. This is one of key advantages EJB has over Microsoft's COM technology. Beans can be extended to provide specific data and functionality extensions. This abstract example takes the inheritance relationships in a zoo to illustrate how inheritance can be used. Until all vendors agree on an inheritance model, we don't know which other EJB products it will work with. We gratefully acknowledge the work of Carl Jones and Ceri Hughes from British Telecom plc in contributing the code for this tutorial.

We will endeavour to finish off this tutorial as quickly as possible but we thought it was important to let people have a sneak preview.

The Taska Beans tutorial

Using JARs, contributed by Congreve Computing.

The XML tutorial

Document management with EJB, contributed by Bickle Associates.


Last Modified: Tuesday, 20-Oct-1998 23:44:59 GMT
/tutorials/home.htm

copyright (c) 1998, ejbhome ltd. all rights reserved.