开发者

how can I generate Java/JSP forms (to work on database data)?

I'm searching for good tools to build jsp forms for DB transactions (new, edit, delete of records) I want to use the simliest tool available. I don't want to write setters/getters for each single record field and for each single table and for each kind of access (read / change). Do开发者_运维技巧 I need to learn Wicket or JSF to handle this approach?


Your keyword is CRUD (Create, Read, Update, Delete). Netbeans has a CRUD generator which can autogenerate JPA 2.0 entities and JSF 2.0 CRUD forms based on just a SQL database table.

Or, if you're more from Eclipse (like me), then try the CRUDO plugin (I've never tried it though).


You can just use Spring MVC + JPA with a scaffolding tool (a CRUD generator)

For example, this demo application : http://bookstore-spring.telosys-tools-demo.cloudbees.net/ has been created in 1 hour from an existing database by following this tutorial : https://sites.google.com/site/telosystutorial/springmvc-jpa-springdatajpa


I never tried it but in a similar vein to BalusC's answer, there is also SpringFuse (more info).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜