aspose file tools
The moose likes JSP and the fly likes application design question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "application design question" Watch "application design question" New topic
Author

application design question

k Oyedeji
Ranch Hand

Joined: Jul 07, 2002
Posts: 96
Hi
I am building a classifieds type application. Users will be able to add adverts which other users can then search. My question is would it be a bad idea to load all the adverts in to the application object from the database once when the application is initalised? I dont envisage many adverts being added due to the nature of the ads (perhaps 3 a week) and when they are added i could store them in the database and then refresh the data held in the application object. can anyone see anything wrong with this? Is there a better approach?
Thanks
k Oyedeji
Ranch Hand

Joined: Jul 07, 2002
Posts: 96
Hi
I am building a classifieds type application. Users will be able to add adverts which other users can then search. My question is would it be a bad idea to load all the adverts in to the application object from the database once when the application is initalised? I dont envisage many adverts being added due to the nature of the ads (perhaps 3 a week) and when they are added i could store them in the database and then refresh the data held in the application object. can anyone see anything wrong with this? Is there a better approach?
Thanks
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: application design question
 
Similar Threads
OO design
List Updation
MultipartRequest help needed!
which lock should be used here ?
Question about shared DB connection