Registries

Registries are lookup stores that allow specific values or implementations to be associated with a lookup key, typically a type of directory path, so that they can be looked up independently from different components or processes. Well-known examples include LDAP, the Windows Registry and Microsoft’s ActiveDirectory, Java’s JNDI with its various context interfaces like ServletContext and InitialContext, the Java RMI registry, and even runtime configuration files like those for Tomcat or Glassfish. To some extent even the venerable DNS and near-ubiquitous environment variables can be used as registries.

Registries usually allow their data to be organized hierarchically. Lookup stores like LDAP allow you to assign some degree of semantic ...

Get Quality Code: Software Testing Principles, Practices, and Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.