This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Generic database table maintenance application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Generic database table maintenance application" Watch "Generic database table maintenance application" New topic
Author

Generic database table maintenance application

Rai Singh
Greenhorn

Joined: Apr 11, 2003
Posts: 5
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.
Thanks,
Rai
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Generic database table maintenance application
 
Similar Threads
XSL-FO
Generic database maintenance using XML
IBM Exam 157 - Questions and Answers (Sample Exam)
struts 2 posting large data
Web App Design