I am implementing a web service that needs to send some files to the client, and what I want is a simple straight forward way to tell my service the root directory in which to search for those files, and I was thinking whether I could use a "Configuration" singleton for loading a configuration file, or whether it is best to use Axis2 properties and contexts.
Personally I would go for the singleton implementation option, but I am wondering whether my service will get loaded with security restrictions that may affect either service operation (not being able to access the singleton -- not likely) or (more likely) the singleton won't have full access to the local (server's) file system, which it needs in order for it to read the configuration files. Thank you, Florin
