You are here: Reference > Rule types > Connect EJB rules > Connect EJB form - Completing the Create tab

Connect EJB form
Completing the Create tab

  1. About 
  2. New 
  3. Service 
  4. Create 
  5. Remote 
  6. History 
  7. More... 

Use the Create tab to specify the data values that the remote system passes as input parameters to the create() method of the EJB home object. The Pega Platform maps data from the clipboard to parameter values of the create method. After the data fields on the Service tab are entered correctly, the list of parameters and their data types are automatically filled in.

Complete the Service tab before completing this tab.

Parameters

Field

Description

Data Type

The form contains the external data type of each parameter of the EJB Create method. Primitive Java types (int, boolean, char, and so on), Java Strings, and arrays of primitive types are supported.

Map From

Select how the system creates parameter values for the request. The choice you make for this field depends on the Data Type value:

  • Clipboard — The system maps the data value to the scalar property specified by the Map From key.
  • Constant — The system sends a fixed text value.
  • XML Stream — The system composes a stream of XML text formatted by an XML Stream rule.
  • HTML Stream — The system composes a stream of HTML text formatted by an HTML rule.
Map From Key

Identify a source for the Map From value:

Map From field

Completing this field

Clipboard

Enter a property reference that is the source of the data.

Constant

Enter a literal text string. To include blank spaces in your text string, surround the string with double quotes.

XML Stream

Enter the Stream Name key part of the XML Stream rule that is to assemble the outgoing XML document. To find the rule at runtime, the system uses the Applies To class of this Connect EJB rule as the class of the XML rule, and the literal constant MapFrom as the final key part. Enter only the Stream Name key part.

HTML Stream

Enter the Stream Name key part of the HTML rule that is to generate the data stream. To find the rule at runtime, the system uses the Applies To key part of this Connect EJB rule as the Applies To key part of the HTML rule.

About Connect EJB rules