Using the Java Persistence API on the desktop