See also: RegistryDesign
This file is to propose the basic structure of the proposed file: jos.registry.reg.xml, the system registry root-file
* (root) | +- User | +- Handlers | | | +- Content | | | +- Protocol | +- Security | +- Components | +- Devices | +- Applications
From each application node, there might be user-specific and host-specific settings. The user-specific settings should be available to the user even as they roam from one machine to another. A local registry should be able to import registry data from another machine on a network.
The host-specific settings are tied to a host, or machine. When a registry is integrated into a network, the list of different machines is shown by the network, like this:
* (root)
In order to read/write any user profile, you must pass the security manager. You must be one of the users in the registry to gain access to this network. Any preferences one user might have compared to another must be imported into the user part of the registry. Since there are potentially different preferences for each application, these are arranged logically by application.
Each application should keep its original configuration and its default configuration. The default configuration is used each time a new user is added to the application. Parts of the application configuration are imported to the user node, for user preferences.
An application service on a network should store the application-specific configuration, instead of each machine.
Registry is a web of information. Each user has a set of applications. Each application has a set of users. Each host has a set of applications and a set of users.
GilbertHerschberger (26 May 1999)
Anyway, why not have network-wide registry that exists "on top" of the system registries it contains all the host info and also controls the transport of user and app sets between machines. This way on single user computers you dont have all that extra stuff "gunking it up".
DigiGod 99.05.26
About a network-wide and system-wide registry. I am thinking that there should be two different registries. A system-wide registry should be provided for the system. A network-side registry should be provided for the network. For direct access to these registries, how about this:
Registry sr = SystemRegistry.getRegistry(); Registry nr = NetworkRegistry.getRegistry();
When using a registry URL, x-registry:os:
returns a system-wide registry and x-registry:net:
returns a network-wide registry.
GilbertHerschberger (4 June 1999)