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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.