• Post Reply Bookmark Topic Watch Topic
  • New Topic

Code generation framework  RSS feed

 
Vinicius Carvalho
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there! We're currently in a process of choosing our next presentation frameworks (Tapestry vs JSF) and we're considering adopting a Trails (traisls.dev.java.net) like solution. It's a code generation framework based on JSF, it generate CRUD screens to ease the development, based only on the persistent entities. Does JSF has a similar solution?

Regards
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSF is a presentation mechanism, so in the sense of "this is everything we need in one pretty package!", no.

However, you can do WSYIWYG JSF page design using something like NetBeans or Oracle JDeveloper. If you back your managed beans with something like Hibernate or JDO, you get CRUD functionality without too much pain.

A few years back I did a tool that would read a table schema from a database, build a dictionary and run templates against it to generate prototype code and JSPs for CRUD. It's called the EJBWizard (http://www.mousetech.com/EJBWizard.html), but despite the name, it's not specifically for EJBs anymore - just override (or replace) the default template set as you like.
 
Vinicius Carvalho
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim, I do agree with you, since we've got JSF and Tapestry, it's pretty much a matter of dropping components to design our UI. But we need a bit more, just like Trails provide. We have a Software Factory with too many Junior staff (more than I'd like to) and for them it's easy to delagete tasks that are pre-automated, like making a pojo available and the framework generates most of the code for them, having just a hook point to add the business logic.

That's what we are looking for the moment.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!