The relationship service maintains relationships and roles in the system. It manages relationship and role definitions and metadata and makes it possible to specify the definition of a relationship and manipulate the instances derived from the definition.
The relationship service makes it possible to capture relationships across different objects. Participants in the relationship are distinguished by the roles they serve. For instance, a Person object "Joe" can have an ownership relationship with a Car object "Subaru with license plate XYZ 123." In this example, Joe participates in the relationship with the role "owner" while the car participates in the relationship under the role "owned object."
Relationships and roles are described in definitions that you design through the graphical interface of the relationship editor tool in WebSphere® Integration Developer. The relationship definition is a template that describes what the relationship should look like, identifying the roles each participant in the relationship can assume. The role definition captures the structure and constraint requirements for the participants. Relationship definitions are stored as XML files that are deployed as part of a J2EE application to a particular server.
For detailed background and task information on creating relationships, identifying relationship types, and using the relationship editor, see the WebSphere Integration Developer Information Center.
The relationship and role instance data is saved in relationship tables that are stored in the database in the default data source that you specify when you configure the relationship service.
The relationship service runs on each server at the cell level. The Relationship Manager home page About section shows the number of servers in the cell that are running relationship services; the Relationships section shows each server name that is running relationship services. Before working with relationship instances, you need to select the server that has the instances of the relationships and roles you want to manage.
For detailed information on using the relationship manager, see the topics on the relationship manager in the WebSphere ESB Information Center.
The following topics describe the configuration tasks to perform for the relationship services for your WebSphere ESB environment.