Look at class “java.util.Properties” in your Java Documentation for a full description of Properties and their use.
For example, create a Properties file (just a text file called “myApp.properties” in this example) containing “parameter=value”.
Then in your code you can:
Define a Properties object:
Properties myProps = new Properties();
Load the Properties values from your file:
FileInputStream in = new FileInputStream(“myApp.properties”);
myProps.load(in);
Put the parameter value into a String:
String myParm = myProps.getProperty(“parameter”,“default value”);
At this point, myParm has the value “value”, and now you can process code depending on the value you found…
Tamino V4 is due quite soon!
HTH
#API-Management#webMethods#webMethods-Tamino-XML-Server-APIs