The Caboteria / Tech Web / JavaEntityBeans (06 Apr 2001, TobyCabot)
An Entity Bean is persistent. The persistence can be CMP (container-managed persistence) or BMP (bean-managed persistence). Each bean has a primary key which is basically analogous to a rdbms primary key in that it uniquely identifies a specific bean. A bean can have transactional properties that allow it to participate in transactions, which are usually managed by the container.

A bean must have:

The entity bean class must:

To learn more: , but the Account entity bean doesn't work with jboss because it holds the Connection instead of closing it for each method.

Although it's important to understand how all the various interfaces work, most of the code generation can be automated by a tool called EJBDoclet which is a clever little javadoc plugin.

-- TobyCabot - 03 Apr 2001

Edit | Attach | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Copyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback