Skip to content

AppFuse File Generator

please look here for the orginal method from matt raible.

Today, finally I made it!

Generating all the files for introducing a new Model to my Application(Spring, Hibernate, SpringMVC) takes me over more than one h.

Here is a litte gernerator for doing the basics (crud, daoInterface, model,(+vars), sql query, …. ) in less a second!!!

browse the source
or
download the eclipse project

currently the usage is:

java Generator –className name –variables “Type varName, Type varName, …” –BasePath “path”

for example:

–className PseudoRoom –variables “GregorianCalendar From, GregorianCalendar To, PropertyRooms room” –BasePath “/Users/nils/Documents/myapp1/” –templatePath “/Users/nils/Documents/workspace/generator/templates/” –genWebController “UserManager, RoomManager, ActionManager”

please look at the source for more information. It´s really easy.

Categories: AppFuse.

Tags:

Comment Feed

2 Responses

  1. Hey, I found your zip file and have taken the code and enhanced it a pretty fair amount. Are you interested in getting a zip file of it back?

    Cary ClarkFebruary 8, 2008 @ 17:30Reply
  2. Your blog is interesting!

    Keep up the good work!



Some HTML is OK

or, reply to this post via trackback.