What is the best practice for configuring a java class library?
At my work, i am writing a class library. Some of the classes needs a configuration to work with our system setup. This configuration may change, and the distribution of the jar file takes a lot of time, as it is going through a lot of test layers.
How do i do the configuration part? Should i create a properties file, and where should i put it?
Is there a standard way to do this in tomcat?