RE: java.rmi.Remote Web Services and getInitParameter

2005-02-16 Thread Brown, Mike
t: Re: java.rmi.Remote Web Services and getInitParameter Elaine, You are correct - a properties file would be easier to use. Unfortunately, I'm the "contractor" on the project and the "employees" are using the web.xml file with different configurations to process the same code thru

Re: java.rmi.Remote Web Services and getInitParameter

2005-02-15 Thread Elaine Nance
Bob, I rummaged a bit and found this link:

Re: java.rmi.Remote Web Services and getInitParameter

2005-02-15 Thread Robert Bateman
Elaine, You are correct - a properties file would be easier to use. Unfortunately, I'm the "contractor" on the project and the "employees" are using the web.xml file with different configurations to process the same code thru their Testing, QA, Staging and Production environments. They have *lot

Re: java.rmi.Remote Web Services and getInitParameter

2005-02-15 Thread Elaine Nance
It is easy to use a Whatever.properties file. Import java.util.Enumeration, java.util.Properties and java.util.ResourceBundle and use the methods from those. If your db is Oracle, otn has exact code samples in the Java samples. Works great. HTH, Elaine Robert Bateman wrote: I have a doc/lit b

java.rmi.Remote Web Services and getInitParameter

2005-02-15 Thread Robert Bateman
I have a doc/lit based web service created by WSDL2Java that implements java.rmi.Remote. In my code, I have been asked to remove my hard coding of how I access our Data Bases services and to load init parameters to look that information up. I did a search of the list and found 1 thread from July