NonStop SOAP for Java User's Manual

Using the Administration Tools
NonStop SOAP for Java User’s Manual523860-001
5-16
Deploying EJB Applications as Web Services
Entity Beans
An entity bean represents an entity kept in a persistent storage mechanism, usually a
database. A business application, for example, might use a database to store business
entity objects such as accounts, customers, orders, and products. Inside the NonStop
EJB application server, this application would represent the business entity objects with
entity beans.
Entity beans differ from session beans in several ways. Entity beans are persistent,
allow shared access, and have primary keys.
For additional information on Enterprise Bean Types, see the NonStop EJB User’s
Guide.
Sample applications released with NonStop SOAP for Java demonstrate using the
various enterprise bean types.
The sample applications and the enterprise bean types that they demonstrate are:
TranslatorBean—stateless session bean. This sample provides a service to
translate English language words into another language. See Deploying a
Stateless Session Bean on page 5-17.
CartBean—stateful session bean. This sample models a shopping cart into which
and out of which you can add and remove items. See Deploying a Stateful Session
Bean on page 5-18 .
AccountBean(CMP)—entity bean with container-managed persistence (CMP). This
sample models a bank account. See Deploying an Entity Bean on page 5-19.