12.1. Developer’s responsibilities

Chapter 11 described the fundamental principles of operation of an entity EJB. In this chapter, we discuss what the developer must do to make use of bean-managed persistence. This initial description will be quite brief, as there is a fairly detailed example later in the section that demonstrates the essential characteristics more clearly. In the discussion that follows, we will refer to the persistent data storage device as a ‘database’ for brevity, even though it need not be a relational database in practice.

12.1.1. Interfaces

The developer should provide local and/or remote home interfaces, and remote and/or local interfaces. These interfaces were described in detail on page 347, and don’t need further ...

Get Applied Enterprise JavaBeans™ Technology 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.