More about Connect EJB rules

An EJB connector is invoked from an activity with the Activity type set to Rule Connect that applies to a class derived from the Work - base class. An Integrator shape in a flow rule can reference activities with the Rule Connect Activity type .

Note: Connect EJB rules are no longer being actively developed, and are being considered for deprecation in upcoming releases. Using Connect EJB rules does not follow Pega development best practices. Consider other implementation options instead.

Calling activity

When you use the Connector wizard, the wizard generates a connector activity. You may need to fine-tune settings or steps in the generated rule. If you create the connector rules directly using rule forms rather than with the Connector wizard, you must also create the connector activities.

To start an EJB connection and execute a Connect EJB connector rule, create an activity that:

  1. Creates a named page for the class rule that the connector rule applies to. This page becomes the primary page for the connector.
  2. Sets property values that serve as the input for the connector's invocation of the EJB.
  3. Calls the connector rule. This step uses the Connect-EJB method. The step page is the primary page of the connector.
  4. Processes the data that the connector rule receives.

Performance statistics

For information on gathering performance information about this connector see Testing Services and Connectors on Pega Community.

Debugging

For more information on testing connectors, see Testing Services and Connectors on the Pega Community.

Viewing Java Bean properties

The Java Bean Viewer tool allows you to view Java Bean properties in a tree format. See The Java Bean Viewer tool.