Chapter 11. Bidirectional Associations Practice Projects

Table of Contents
1. Assign directors/actors to movies and movies to directors/actors
2. Assign cities to a country and members to an organization, and vice versa

All projects include the following tasks:

  1. Make an OO class model derived from the given information design model. Hint: replace associations with corresponding reference properties.

  2. Make a JavaScript class model or a Java Entity class model derived from the OO class model. Hint: add check and setter methods.

  3. Code your JavaScript class model or Java Entity class model, following the provided guidelines.

Make sure that your pages comply with the XML syntax of HTML5, and that your JavaScript code complies with our Coding Guidelines and is checked with JSHint (http://www.jshint.com).