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
Bob,
I rummaged a bit and found this link:
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
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
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