Such a PersistenceDescriptor class can be exported as String or just be added
to the ShrinkWrap archive.
By default, the project contains descriptors ready for all the most important .xml of Java
EE platform. However, it also allows for code generation using XSD and DTD files. Be
cautious, it's still in alpha stage. It is stable, but the API might already be changed.
Search WWH ::