Chapter 9. Implementing Bidirectional Associations with Java EE

Table of Contents
1. Make a Java Entity Class Model
2. Write the Model Code
2.1. New issues
2.2. Summary
2.3. Code each class of the Java Entity class model
2.4. Code the setter operations
2.5. Code the add and remove operations
2.6. Take care of deletion dependencies
2.7. Entity Managers and Cached Entities
3. Exploiting Derived Inverse Reference Properties in the User Interface
3.1. Show information about published books in Retrieve/List All
4. Run the App and Get the Code

In this chapter, we show

  1. how to derive a Java Entity class model from an OO class model (that has been derived from an information design model),

  2. how to code the Entity class model in the form of entity classes (representing model classes),

  3. how to write the view and controller code based on the entity classes.