Java Reference
In-Depth Information
is also used as a base for the entities consumed and produced by the web services through
JAXB. Each entity has validation rules based on business requirements, specified using
Bean Validation.
FIGURE 27-3. Duke's Forest Database Tables and their Relationships
The database schema contains eight tables:
•
PERSON
, which has a one-to-many relationship with
PERSON_GROUPS
and
CUSTOMER_ORDER
•
GROUPS
, which has a one-to-many relationship with
PERSON_GROUPS
•
PERSON_GROUPS
, which has a many-to-one relationship with
PERSON
and
GROUPS
(it is the join table between those two tables)