I have dedicated the past 2 weeks to develop an application called VisualJBusiness.
It's main goal is to generate a web CRUD coded in J2EE5, JSF and using JDBC, JTA, JPA and CSS.
As far as I know, the only server available at the moment J2EE5 compliant is Glassfish.
VisualJBusiness should be provided with a database valid URL.
Then it will extract database metadata, allowing the user:
a) select tables to have CRUD pages generated for.
b) set aliases for tables and table columns.
c) set container resource name (database pool)
d) replace generic header.jsp and footer.jsp files with custom ones.
e) replace generic stylesheet.css with custom one.
The generated project has a build.xml ant script with the targets clean, build, deploy and undeploy ready.
It can be downloaded at VisualJBusiness (Sourceforge.net) and is open source (GPL).
You are welcome to use, test and collaborate.
It is still beta, but I was able to generate complete small working projects with it already.