EJB 2.0 Development with WebSphere Studio Application Developer
by Ueli Wahli, Wouter Denayer, Lars Schunk, Deborah Shaddon, Martin Weiss
Introduction
Entity beans represent business or domain-specific concepts, and are typically the nouns of your system, representing fine-grained concepts such as customers and accounts. They usually represent data (entities) stored in a database. Since they represent data that is persistent in that database, changes to the bean result in changes to the database.
Entity beans allow us to objectify our data, and there are a lot of good reasons why working with objects representing the data, versus doing data access directly, is better. For example, it is a lot easier to work with objects, and they become reusable components in a system. Also, it frees us up from having to worry about developing functionality such as concurrency, transactions, security, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access