Programming Guides › Programming Guide for Java Connector Server › Introduction › Java CS Services
Java CS Services
The Java CS Framework provides the following high-level services:
- Name Mapping—The Java CS handles mapping between LDAP objectclass and attribute names with the matching names expected by the endpoint system (as specified by XML metadata).
- Validations—Through Java CS components called Validators that validate LDAP data before it is passed to, or optionally received from, connectors
- Conversion—Java CS components called Converters that reformat LDAP data before it is passed to or received from connectors.
- Resiliency—The Java CS provides connection resiliency by attempting to reconnect to an endpoint system in the event of transient failures and connections, or both, becoming stale.
The Java CS Framework assists in the following developer tasks:
- Associations—The Java CS uses information in metadata about associations between objects, such as which accounts belong to which groups. Assistance from the framework takes the form of base classes which can be extended, and an optional Java proxy which can automatically handle implementation of reverse associations (for example, calculating account.memberOf from group.member) in many cases.
- Activation and Deactivation—The Java CS automatically handles registration and activation and deactivation of connectors when connection-sensitive values are modified.
- Connection Management—The Java CS has framework classes which assist in the configuration of implementation of pooling of connections to endpoint systems.
- Exception Mapping—The Java CS uses a Java proxy to support exception mapping from an endpoint system to a standard JNDI exception hierarchy, including LDAP error codes.
- Coding Java proxy wrappers—The Java CS framework includes base classes and utility methods to assist in coding and interposing Java Proxy objects wrapping any of the processing styles supported by a connector.