Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Online Training

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
 
Training Index

Overview of the process

The steps we will follow in this tutorial to build the DemoBean EJB are:
  • Install an EJBserver.
  • Specify the "Remote interface"
  • Specify the "Home interface"
  • Write the EJBbean itself highlighting the focus on the business logic.
  • Create the ejb-jar file
  • Deploy the DemoBean
  • 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 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.

Click here to begin the tutorial or here to view the Table of Contents.


[ This page was updated: 5-Nov-99 ]

Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary - Applets - Tutorial - Employment - Business & Licensing - Java Store - Java in the Real World
FAQ | Feedback | Map | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-99 Sun Microsystems, Inc.
All Rights Reserved. Legal Terms. Privacy Policy.