A.6. Update the Domain Classes

The main work involved with integrating JPA Objects is in annotating the domain classes, as described in detail in Chapter 4, Annotating Domain Objects. For us, though, we can use the pre-annotated versions of the claims domain classes. These reside in the claims-jpa-dom project, in the jpasrc directory.

Therefore, copy over the files from this directory into the claim project's src/main/java directory. If you want to see the types of changes that are required then use a file comparison utility (such as WinMerge, Meld or FileMerge) to copy over the files.