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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -