I use JDOM to populate a arrayList of  shipping  beans, then a factory to
send the arraylist to any action that want shipping.

the cool think is that if you code it right, u can get you code to reload if
the xml file changes (eg check the date of the xml file)
give
----- Original Message -----
From: "Day, Michael-IBM/TT" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 1:48 PM
Subject: [OT] XML Configuration Files


> I'm working on an application that will use a database extensively.  In
> order to save some database hits, I'd like to offload some smaller bits of
> information into XML files.
>
> An example would be shipping methods.  There is a limited number of
shipping
> methods that a company could use.  I would like to define these in an XML
> file during deployment.  When the application starts up, I'd like all fo
the
> shipping methods to be loaded from the XML file into memory.  By doing
this,
> I save the database hits everytime the application needs to access the
> different shipping methods.
>
> Does anyone have any suggestions on an existing API that does this.  I'm
> sure something must be out there to assist developers that want to parse
XML
> configuration data for their applications.  Once I have this, what is the
> best way to have this information loaded on startup?  I am thinking of
> creating a singleton that manages the different shipping methods.  Do
better
> methods exist?
>
> Thanks for any help.
>
> __________________________________________________
> Michael Blake Day
> Nextel Communications, Inc.
> email: [EMAIL PROTECTED]
> desk: 678.966.4792
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to