This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a requirement to create a database driven website where information of all fields shown on UI will be stored in database. Application should read the fields and page layout info from database first and then render it on JSP. Can someone please suggest which is the best framework available in java for this type of work?
There rarely is a single "best" of anything. There are dozens of frameworks you could use. What specifically should it do?
Joined: Oct 20, 2013
I want my UI to be driven by database so when a HTTP request comes - it should first go to database, fetch all the fields which will be shown on UI and render the page with all fields.
In addition if my admin user add or delete a field from database then it should automatically reflect on UI without a change in UI or Service layer.
Joined: Mar 22, 2005
You'll have to be more specific than that. The former part just about any web framework can do. The latter part is unusual, as most web pages have a predetermined set of data they show, and are not tuned to displaying an unknown set of fields of unknown types - generally a web app gets adapted if the underlying schema changes. If you feel the need to change the schema frequently enough that you don't want web site releases to go with each DB change, that may be a sign that your schema is not flexible enough for the data you store in it.