Chapter 6. Entity Beans with BMP

Topics in This Chapter

  • Introducing Entity Beans

  • Bean-Managed Persistence

  • EJB Container Responsibilities

  • DAO Pattern with Entity Beans

  • Transactions

  • Session Facade Pattern

  • Local Interfaces

Even the most patient reader is likely to wonder when we'll begin using EJB examples that show how to manipulate database records other than to simply read them. We have seen stateless session beans effectively read and cache database records. We've used stateful session beans to track where in the data list the client is currently reading, and we've used stateful session beans to hold objects in a virtual shopping cart for clients. We've even used a stateless session bean to discover the wonders of interest rates, monthly payments, ...

Get Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications 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.