Due to a business case, we need to create a properties file and update it when needed.
If it is a non-generic properties file, where can I locate the property file??(we use weblogic as the app server).
Is it suggested to access files and update them in J2EE(if the updates and access are done on the server side)???
-
create and access a custom properties file?? (2 messages)
- Posted by: Kishore Dandu
- Posted on: June 28 2004 12:11 EDT
Threaded Messages (2)
- create and access a custom properties file?? by Matthew Wilson on June 28 2004 12:20 EDT
- create and access a custom properties file?? by Kishore Dandu on June 28 2004 12:25 EDT
-
create and access a custom properties file??[ Go to top ]
- Posted by: Matthew Wilson
- Posted on: June 28 2004 12:20 EDT
- in response to Kishore Dandu
Due to a business case, we need to create a properties file and update it when needed.
Should this data realy be in a properties file and not the database?If it is a non-generic properties file, where can I locate the property file??(we use weblogic as the app server).
I would define a directory to store the files in, say (/opt/properties or C:\MyApp\properties). And give the weblogic owner write/read for just this directory.Is it suggested to access files and update them in J2EE(if the updates and access are done on the server side)???
Sure, this is done by the container all the time. Just make sure you don't introduce any security bugs. -
create and access a custom properties file??[ Go to top ]
- Posted by: Kishore Dandu
- Posted on: June 28 2004 12:25 EDT
- in response to Matthew Wilson
we can not use db stuff, since we are not supposed to create a new table(we don't have a table for this kind of purpose). That is why we are choosing a text file to take care of this.