What is Hydra?
Hydra is a tool for defining and accessing "nested" configurations within Java applications.
It consists of:
- The Hydra application, which is used to generate the configuration.
- The Hydra API, which can be used in Java applications to access the configuration.
- The Hydra GUI for visualizing the configuration.
Hydra features:
- Active settings: The user can choose appropriate settings from a list of available settings.
- Selection modes: This feature constraints the choice of active settings, e.g. either logging is disabled or enabled, but never disabled and enabled at the same time.
- Permission levels: Hydra settings have three permission levels, allowing the user to read, modify or write settings.
How does Hydra work?
The configuration is generated with the Hydra application, saved as XML data and can be accessed within Java applications using the Hydra API und GUI.
Instead of just configuring simple name-value entries (as in Java properties), you can define hierarchical structures of key-value combinations, which gives you the opportunity to load different settings depending on your Java application, e.g. choose between servers you want to connect to, which all have different login and password data.
