Developer/Designer Notes

Web Service – User Editable Configuration File

Posted by Kiran Mova on March 12, 2007

As trivial as it might seem, I had tough time figuring out the way to provide a ini or a conf file. Here are some interesting threads I found:

Check this google discussion on using ContextParam in web.xml
http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html

Notes: I am using this in the context of DWR. So my Java Classes will have to use the WebContextFactory to access the servletContext.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: