Previous Contents DocHome Index Next |
iPlanet Trustbase Transaction Manager 2.2.1 Installation and Configuration Guide |
Chapter 8 Service Deployment
Services that involve message interaction between one machine and another can be deployed by configuring them in terms of their class files that determine message protocol, the java code that defines the service itself together with some rulesets that define various authorisation mechanisms and a "tbasesvc.properties" file that allows the user to define configuration options for that particular service.
Overview of Deploying a Service
Deploying a service can involve any number of configuration features depending on what kind of service you have to build. Sometimes it may involve defining your own configuration options and in such circumstances you may wish to configure a Template option. In other cases you may require authenticating that service in which case you will have to select your Authorisation options.
Figure 8-1    Service Main Menu
There are essentially two main requirements for deploying a service:
You deploy it by loading the services jar file into iPlanet Trustbase Transaction Manager.
You then assign a role to authenticate the service, if necessary.
Figure 8-2    Service Deployment
The attribute and value details are used during message routing to determine if a message should be routed to this service. If a particular message has an attribrute of the correct type and value then routing is passed to the service (or its corresponding rules).
The service itself contains a jar file, placed in /opt/Trustbase/TTM/V2.2/deploy that has a list of classes that contain the java code associated with the service, the java code that defines the service and a .properties file that defines how the service should be configured. This is illustrated below.The Service is the service name
The Version is the version of the service that is user defined
The class is the main calling program
The jar file that contains the service itself with all its associated data.
Figure 8-3    Example jar file of service being deployed
Figure 8-4 below illustrates a sample output from deploying a service. The effects of deploying a service only occur when iPlanet Trustbase Transaction Manager has been restarted.
Figure 8-4    Service Deployment Results
Authorisation Services
If it requires Authorisation you'll need to:
Figure 8-5    Add Service
Figure 8-6    Add Role
Figure 8-7    Add User
Figure 8-8    Add Certificate
Services not requiring Authorisation
If the service you wish to deploy does not require authorisation simply select the <services> <deployment> and don't follow the procedure to assign a role for the service.
Registered Services
Finally, you can see which services have been deployed by selecting <Services> <Service Registry> as illustrated below.
Previous Contents DocHome Index Next
Copyright © 2001 Sun Microsystems, Inc. Some preexisting portions Copyright © 2001 Netscape Communications Corp. All rights reserved.
Last Updated April 18, 2001