More about Connect Java rules
Calling activity
A Java connector is invoked from an activity with the Activity Type set to
Connect
that applies to a class derived from the Work-
base class. Such activities can be referenced in an Integrator shape in a flow rule.
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 a Java connector manually, you must also create the connector activity.
Create an activity that:
- Creates a named page for the class that the connector rule applies to. This page becomes the primary page for the connector.
- Sets property values and input parameter values that serve as the input for the connector's invocation of the external application or Java class.
- Calls the connector rule. This step uses the Connect-Java method. The step page is the primary page of the connector.
- 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.
Simulation and testing
To debug your application before the Java connector is working, you can simulate a Java connector when the external system is unavailable or lacks a test environment. Create an instance of the Data-Admin-IS-Services class and appropriate simulation activities.
For more information on testing connectors, see Testing Services and Connectors on the Pega Community.
Calling a Windows DLL
This rule type is useful when your application needs to call a capability provided by a Windows DLL. See How to call a Windows DLL Library.