aspose file tools*
The moose likes Other Application Frameworks and the fly likes Database driven website Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Database driven website" Watch "Database driven website" New topic
Author

Database driven website

Suraj Bahl
Greenhorn

Joined: Oct 20, 2013
Posts: 2
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
Marshal

Joined: Mar 22, 2005
Posts: 42601
    
  65
There rarely is a single "best" of anything. There are dozens of frameworks you could use. What specifically should it do?


Ping & DNS - my free Android networking tools app
Suraj Bahl
Greenhorn

Joined: Oct 20, 2013
Posts: 2
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
Marshal

Joined: Mar 22, 2005
Posts: 42601
    
  65
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
Bartender

Joined: Jan 17, 2008
Posts: 2431
    
  28

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.
 
Consider Paul's rocket mass heater.
 
subject: Database driven website