Chapter 30. Entity Beans

Entity Beans

Chapter 28, “Enterprise JavaBeans,” discussed the Enterprise JavaBeans (EJB) in general and Chapter 29, “The Session Bean, explained the session bean and presented a fragment of an e-commerce web application that uses both stateful and stateless session beans. You should now be familiar with how EJB works and know how to write, package, and deploy session beans.

Session beans, however, are only a third of the story. There are two more types of EJB: entity beans and message-driven beans. This chapter explains the entity bean and shows you how to write entity beans for your applications. Chapter 33 explains how to work with ...

Get Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions 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.