Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. Start the Eclipse IDE and create a Java project by name ApplicationClientJPA as follows.
Right click on the Project Explorer Window and click on New => Java Project.

Provide ApplicationClientJPA as the name for the Java Project.

Click on Next and Finish.

2. Right click on the Project and click on the Properties option which is the last option in the menu.

This will open up Properties Window. Click on Java Build Path => Libraries tab on the right hand side.

Click on Add External JARs button and browse for geronimo-jpa_3.0_spec-1.1.1.jar file in the geronimo
server repository. This file will be available at
{{<geronimo_home>/repository/org/apache/geronimo/specs/
geronimo-jpa_3.0_spec/1.1.1}} folder.
The JPA annotations used in Account.java and some of the JPA classes used in AccountClient.java
requires this library at compile time. Click on the Open button.

This will add the library to the build path. Click on OK.