On Thu, 2006-02-16 at 23:34 -0500, Srinath Perera wrote: > Hi Deepal; > > > you have to have ur axis2.xml file inside the conf sub directory inside > > the repository > You mean <repository>/conf/axis2.xml?
No by default AXIS2_HOME/conf/axis2.xml. > My 2 cents, but to me it is step backward? > > 1) is there a real reason one can not manage with the axis2.xml inside > reository? campare the complexity to the code now and before ..I would > say YAGNI It can be in the repo if you want .. but the repo is now spsed to be a URL; so it can be used to boot up a server in a cluster by pointing to a repo on another machine for example. (Deepal's in the middle of the URL support.) > 2) The system properties are BAD ..same reason the static parameters are BAD. > It has possible secuirty threats and source for bugs. I know Axis did > it .. which I belive is a mistake > 3) The parameters should be in client API no body will notice system > properties. Check axis archives how meny people did know about Axis > has a system property for configuration file. I think it is not even > 1% of all users.. there are tons of mails asking how to make client > config acrive? It is a client API thing .. system property is just the way for the shell scripts etc. to get it into the system. You can always create your own config (see AxisConfigurator) and get the config info from anywhere .. the system property and file system configurator etc. are all conveniences. Basically the *entire* system can be fluffed up from a database if you want or from memory or from a Web site or whatever. I don't agree that's YAGNI because the cluster scenario is a good simple usecase. Sanjiva.
