THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Ensure that you have Apache Ant installe installed (this sample was tested with ant 1.6.5, but any recent version should work)
- Download the OpenJPA binary release from the downloads page and unpack it by double-clicking it.
- Launch a console
- Change directories to the Desktop, then cd to the unpacked OpenJPA folder
- cd to the examples subdirectory, then to the hellojpa subdirectory
- Run ant, which will compile the classes and run the sample application. At the end of the build, you should see the text Hello Persistence!.
- Congratulations! You have run your first sample program using OpenJPA. Examine the Main.java example program, as well as the Message.java entity class, play with them by adding fields and working on new persistence operations. Have fun!