EJBs and Persistence

During the last two days, you studied session beans, which are the support provided by the EJB specification for writing and deploying transactional business components. Enterprise applications require transactional as well as persistence functionality. For persistence functionality, the EJB specification defines another type of bean called an entity bean. An entity bean represents the data logic part of an enterprise application.

Entity beans are components that encapsulate database activities such as retrieving and storing data in a database. Entity beans interact with the database for persisting data in different ways depending on who is responsible for implementing the database functionality. The EJB specification defines ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days 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.