Minuteproject 4 JPA2 ( http://minuteproject.wikispaces.com/JPA2 ) tracks this task. Minuteproject can be run from the console or command line.
You can get a quick result by creating from the console where you generate a maven project containing JPA2 mapping classes in java or groovy. If you use the command line, you need to fill out an xml file, which may contain additional customization of your generated code, such as packaging, listing, aliases, etc.
You can also try another track built on top of JPA2, such as DAO using spring or EJB; RECREATION; front end with Primefaces or Openxava; etc...
xflorian
source share