The AppFuse Generator
I found the AppFuse Generator project in my comments last night. Richard So seems to have created a nice code-generation tool for AppFuse. It looks like it can create/modify all the files you need to CRUD a database table. I took a brief look at the code and it's all based on Velocity templates, so you should be able to easily tweak things.
This tool does seem to generate the DAOs/Managers - which can lead to more code to maintain. It would be nice if it could be modified to be similar to AppGen where there's a "detailed" version (that generates everything) and a "default" version (which only generates the web tier classes). The default version could use the generic "dao" and "manager" beans. I wonder if this tool supports running/installing the same table more than once? This currently doesn't work too well with AppGen, but shouldn't be too hard to fix.
In reality, I'm pumped that Richard has created this, as well as a project to back it up. I especially like that he's going to try and create an Eclipse Plug-in as part of this project. Nice work Richard!
Posted by Ahmed Mohombe on November 22, 2004 at 06:15 AM MST #
Posted by Mike Shoemaker on November 22, 2004 at 08:03 AM MST #
Posted by Richard So on November 22, 2004 at 05:35 PM MST #
Posted by Xi Ping Wang on November 22, 2004 at 11:11 PM MST #
Posted by Ahmed Mohombe on November 23, 2004 at 05:32 AM MST #
I have working about 1 or 2 weeks on prepare a set of templates for Hibernate Synchonizer to generate an functional struts webapp CRUD codes, but instead of spring i'm using a little service framework that i build to my self (I'd like to use spring but i haven't learned yet). To some task i had to modify a little the Syncronizer's source code.
I hope to share this code soon.
Posted by Cesar Delgado on November 23, 2004 at 10:13 AM MST #
Posted by Ahmed Mohombe on November 23, 2004 at 10:50 AM MST #
Posted by Oens on January 11, 2006 at 01:24 AM MST #