java - Re-read configuration without restart -
suppose i've got java application, uses properties files configuration. i'd make application re-read configuration without restart. i'll call such configuration "refreshable".
what easiest way that?
suppose developing application scratch. how should design make configuration "refreshable"?
using commons-configuration easiest way go. here example of usage. there many other features included, hierarchical configuration (with overriding defaults), jdbc sources, etc.
Comments
Post a Comment