Overview of the process

The steps we will follow in this tutorial to build the DemoBean EJB are:-

1) Install an EJB server. 
2) Specify the "Remote interface"
3) Specify the "Home interface"
4) Write the EJB bean itself highlighting the focus on the business logic.
5) Create the ejb-jar file
6) Deploy the DemoBean
7) Write a client java application.

These really are the steps required to implement just about any EJB and although with all that is written about EJB's so far it seems to be a lot more complex the complexity is for the server/container provider to worry about not I repeat NOT the EJB provider.  
 
 
 
 
 

f the EJB architecture, see the Enterprise JavaBeans White Paper. 

This tutorial is not a replacement for reading the Enterprise JavaBeans specification. Rather, it is designed to enhance your understanding of the specification by providing concrete examples, and step-by-step guidelines for building and using Enterprise JavaBeans. 

In the example code we have referred to and used examples initially from the WebLogic Tengah server, and as further implementations come along we will add these to the tutorial. 

This is part #1 

This tutorial introduces a stateless session bean example, which is functionally equivalent to the perennial "Hello world" program. It is the simplest of all enterprise beans to write, and as such, allows us to demonstrate the model, with the minimum complexity. Further parts of this paper will address the other bean type, that is, stateful session bean Managed Entity and Container managed entity beans. It is our intention to include tutorial details on other technologies, such as SQLJ, when they are available, and as time and resources permit.