Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database driven website

 
Suraj Bahl
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks in advance!!!
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There rarely is a single "best" of anything. There are dozens of frameworks you could use. What specifically should it do?
 
Suraj Bahl
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jayesh A Lalwani
Rancher
Posts: 2756
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like a Content Management system to me!!! Have you just looked at buying CMS off the shelf?. Why reinvent the wheel! There are lot of reliable CMS available.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic