Zafif, 

For the data that you use as lookup's (list of countries, ect), you might
want to consider putting that information in an XML file instead of your
database, and then parsing through the file once to load the information
into a drop down box, etc.  

Celeste

-----Original Message-----
From: Matthew Horn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 9:09 AM
To: JRun-Talk
Subject: RE: application variables


Four times a YEAR? If that is the case, I would store the data in property
files. That way if a new version of JRun comes out, you don't have to
remember to reset the variables in the configuration file or JMC.

For commonly-accessed lookup data that is fairly static, I would cache the
static data per the instructions in the JRun Programmer's Guide
(Optimization chapter):

http://livedocs.macromedia.com/jrun4docs/Programmers_Guide/servletoptimizing
2.jsp
and
http://livedocs.macromedia.com/jrun4docs/Programmers_Guide/servletoptimizing
3.jsp

Or check Drew Falkman's book "Web Application Construction Kit". He
discusses this with code examples for JRun and he is an active member of
this list.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 7:48 PM
To: JRun-Talk
Subject: application variables


I have some data that I would like to have available to all users, the data
is
updated each four times a year at the most.  Would storing them as
application
variables be the best choice?  Data is currently stored in the db.

Also, I have other type of data, such as lookups, that are not rarely
updated
(like list of countries, sectors etc...).  What would be the best type of
storage?
In order to access them (for editing, search pages etc...)

Thanks,




______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to