File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes application design question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: application design question
 
Similar Threads
which lock should be used here ?
MultipartRequest help needed!
Question about shared DB connection
List Updation
OO design