Adding and configuring service components

StepsAdding service components

  1. Highlight the Service Components folder, right-click, and select Add.

  2. Complete the wizard to add the new service component, and click Finish.

StepsConfiguring service components

  1. Expand the Service Components folder, and select the service component to configure.

  2. In the right pane, edit the service component properties defined in Table 3-7, then select Apply.

Table 3-7: Service component properties

Property

Description

Component

The name of the component that implements the service. For a user-defined service component, enter either:

  • The class name of a simple Java class (must be in the server class path), or

  • The fully-qualified name of an EJB local or remote interface; for example, ejb.components.mypackage.MyCompLocal or ejb.components.mypackage.MyCompRemote.

The configuration property name is component.

Depends On

Select the service components on which this service component depends. The configuration property name is dependsOn.

Start Before Binding

Specify whether to start the server before name service bindings are set up. The configuration property name is startBeforeBinding.

Start Order

Specify the order in which to start the service component. The configuration property name is startOrder.

Run Thread Count

Specify the number of threads required to run the service component. The configuration property name is runThreadCount.

Stop Wait Time (ms)

Enter the number of milliseconds the server waits for the service to stop during server shutdown. If the service has not completely stopped when the time expires, the server shuts down anyway; the default is 1000 (1 second). The configuration property name is stopWaitTime.

Allow Start Failure

Select this option to continue if the service component fails to start. The configuration property name is allowStartFailure.