Hi,

I am trying to determine if storing application component configurations inside the packages for the components they represent is a good practice in web applications. This way, I can distribute all configurations quite easily, and the component does not have to worry about finding them - it can just use its own class loader to load the configuration.

For example:

test.presentation.component is a package. I can put a properties or XML configuration file in this package, and just load it using the class loader at runtime.

Regards,
Steve