This tutorial introduces you to the basics of building Enterprise JavaBeans (EJB2) with Workshop. Through the tutorial you'll build a very simple application that includes a session bean, an entity bean, and a Java Page Flow (as a client).
Note: This tutorial requests that you create a new workspace; if you already have a workspace open, this will restart the IDE. Before beginning, you might want to launch help in standalone mode to avoid an interruption the restart could cause, then locate this topic in the new browser. See Using Help in a Standalone Mode for more information.
In general, this tutorial assumes you already know something about Enterprise JavaBeans and how they fit into applications built on J2EE. The Enterprise JavaBeans subject is large enough to fill entire books, so it's not described in detail here.
However, if you happen not to be familiar with Enterprise JavaBeans, this tutorial includes brief notes along the way about, for example, what entity and session beans are. But it's just enough to keep things moving along. For further reading, you might get started with the following:
This tutorial introduces you to Enterprise JavaBeans development with Workshop. As you work through this tutorial, you will:
The visitor tracking application you'll build with this tutorial includes the following components:
VisitBeanentity bean that keeps track of visits to the test web page.
VisitTrackerBeansession bean that greets visitors and checks the entity bean for the number of visits made to the web page.
VisitWebTestweb project within which to build a page flow that will be a test client for
VisitTrackerBeanCtrlEJB control that will be the test page flow's means for calling methods of the
Applications and Projects
Click the following arrow to navigate through the tutorial: