Configuration Files
The Nucleus Framework supports configurations files written in a XML format. These files allow users to setup a Node by referring to “templates” of components in the framework and specifying the characteristics that are specific to its system. The configuration file is read at the Node’s instantiation, which results in the creation and configuration of the Node: connection of servers, research of servers for the clients, instantiation of Database, etc. This greatly limits the work required from the user to create its system and has the even greater advantage of making the reconfiguration of systems effortless and available to any users (non-programmers).
Editing a Nucleus XML configuration file in Eclipse.
The "interface-based" service is the simplest type of configuration, which basically allows a user to create a remote service out of any Java class. Any service configured in the XML file, whether it is an "interface-based", any kind of DAO or a daemon, shares a common configuration model that includes specification for the service: (i) ID; (ii) name; (iii) group; (iv) description and; (v) dependencies.