What Are Entity Beans?

Entity beans are representations of information that's persisted in some kind of data store. Although the main focus of a Session bean is to represent business logic, an Entity bean's main objective is to represent persisted business objects. Examples of persisted business objects include orders, order details, customer accounts, and partner information. Although this information is usually stored in a relational database (RDBMS), it can also be stored in many alternative forms, such as a flat file, an object-oriented database, or as XML.

An Entity bean usually represents a row in the database. An Entity bean manages an in-memory copy of the persisted information. This cached version of the information can be used to reduce ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.