Home

 

Creating the Java project for entity testing

To test the JPA entities, we use a simple Java project.

In the Java perspective, right-click in the Package Explorer and select New Æ Java Project.

In the Create a Java Project dialog, type RAD75JPATest as Project name, accept all the defaults, and click Next.

In the Java Settings dialog, select the Projects tab, and click Add. Select the RAD75JPA project-which we will be testing-and click OK.

Click Finish.

When prompted to switch to the Java perspective, click Yes.
ibm.com/redbooks