This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Do you want a code generator that creates all the code you need for a working web-application for any new database table you create? Want to keep it simple, scalable, and pure Java?
POJO Jenerator may be for you, and it's worth taking a look at. You enter the object name, and SQL data types for the attributes of a new object (database table), and POJO Jenerator produces for you:
- DDL statement for your DB table
- JavaBean class to represent rows in the table
- Full-CRUD (Create/Read/Update/Delete) JDBC DAO class
- A full-CRUD, embeddable, working web application (UI) using modern AJAX tachniques
Basically everything you need to implement a new feature that involves a new DB table. Better than Grails (certainly easier to use), and it's all pure Java, and totally free.