Hibernate CRUD à la Ruby on Rails' Scaffolding Hibernate CRUD à la Ruby on Rails' Scaffolding ruby-on-rails ruby-on-rails

Hibernate CRUD à la Ruby on Rails' Scaffolding


Grails is a very nice Rails-like framework built on top of Spring MVC. For persistence, they use GORM, which is basically an ActiveRecord-like framework built on top of Hibernate. Pretty slick.

If you already have Hibernate entities, they can actually be used immediately in Grails with no additional work.


You can try Telosys Tools, an Eclipse plugin for code generation (scaffolding) working from an existing database with customizable Velocity templates.It's very simple and easy to use.

The tutorial for code generation with Spring MVC and Spring Data is here : https://sites.google.com/site/telosystutorial/

See also : http://tools.telosys.org/

Eclipse Marketplace : http://marketplace.eclipse.org/content/telosys-tools


I'm a little late on this one but it popped up in the "Related" links →

JBoss Seam and it's Seam Gen tasks are exactly what you are looking for (Hibernate + JSF). You can generate an entire web app from a Hibernate fronted database in seconds.