Recently I wrote about how to create a custom "JSF Pages from Entity Classes" wizard. Kay Wrobel, who was introduced in that blog entry, has now taken the concept to the next level and created on SourceForge the PrimeFaces CRUD Generator for NetBeans:
http://sourceforge.net/projects/nbpfcrudgen/
He's also provided an excellent starting guide, which includes an explanation of each of the files the generator will create for you:
http://sourceforge.net/p/nbpfcrudgen/wiki/GettingStarted/
Once you've downloaded the ZIP from this location, you're good to get started. A binary NBM file will be made available in due course once bugs have been fixed and everything is sorted out.
And here's a 4 minute movie I made to show how smoothly everything already fits together:
Great work, Kay!