Alex004
Alex004

Reputation: 785

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?

Upvotes: 2

Views: 2688

Answers (3)

John T
John T

Reputation: 713

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

Upvotes: 1

Will
Will

Reputation: 241

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

Upvotes: 0

BalusC
BalusC

Reputation: 1109855

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).

Upvotes: 1

Related Questions