RevGen is meant to be a modern, more configurable replacement of Middlegen. It grew out of a Spring/Hibernate/Oracle project for Auto Trade Center and was originally based on a highly modified version of AppFuseGenerator.
RevGen is a complete rewrite with the goal of being a production-quality, highly configurable, reverse-engineering, code generation framework.
Everything not reverse-engineering specific is packaged in a second project, JavaGen Agile, a generic template-based code generation framework that does most of the heavy lifting for RevGen.
The author of both tools is Richard Easterling, a long time Java guy and open-source tool author.