Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Generic database table maintenance application  RSS feed

Rai Singh
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, this problem has been puzzling me.
I have developed a JSP application using a MVC(model 2) type framework (not Struts). The problem to solve was to build an application which would allow easy relational database table maintenance on simple tables without requiring a new Java Bean (page bean) to be generated for each table.
Another part of the requirement was to allow this be dynamic at the presentation layer. In other words, if I add or drop a column from a table, the HTML should be rendered to reflect this change.
Both a multiple row page view and a single row page view gets generated by some input source XML. The single row page XML is transformed for each column on the table being edited (this way an option list amongst a bunch of input boxes can get rendered).
My one big question is are there tools like this already in use or can Struts support this type of design?
I don't like to reinvent the wheel, but I guess at the time I didn't have the luxury to research more on this.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!