Domain classes to JPA/DAO code generation

Hi,

We want to generate JPA/DAO code from the class diagram.
Could you please point us the documentation which shows the steps for doing this.

Also how to provide annotations that can validate the data? Please let us know.

Thanks and Regards
Chetan