Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to use Eclipse to generate a JSF form from a JPA POJO?

Is there a code generator for Eclipse that can create a facelets form that is based on the fields of a JPA POJO?

I'm just looking for something that can inspect my JPA entity and belch out a form based on it. Doesn't need to be pretty. I'm using a regular Eclipse Helios Java EE distribution. If I have to install a plugin or something, that is fine as long as it is free.

As an alternative if you know of any other tools that can do this that would be good too, as long as it doesn't require installing another IDE. I'm looking for quick and dirty here.

TIA.

like image 582
BCG Avatar asked Feb 11 '11 14:02

BCG


1 Answers

Eclipse can't do it out the box. It can only generate JPA entities out of an existing DB table (and vice versa) with the Java EE builtin Dali plugin. For generating JSF/Facelets pages based on JPA entities, there's as far there's only the CRUDO plugin.

Netbeans can do it all out the box by the way.

like image 134
BalusC Avatar answered Nov 09 '22 20:11

BalusC