O'Reilly logo

Applied Enterprise JavaBeans™ Technology by Kevin Boone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11.3. Associations between entities

Although it is quite clear than entity EJBs will have persistent data elements—the Customer EJB has persistent name, address, and credit card details, for example— closer inspection reveals that it is not only the data that is persistent. The problem is that entity EJBs have associations with other entity EJBs, and these associations will themselves be persistent.

In this section, we discuss associations in general, followed by typical schemes for implementing them.

11.3.1. What are associations?

The real power of object-oriented development comes from the expressiveness of object interactions. Objects can be associated [5] (related) in a number of ways and interact along those associations. Of course, a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required