Connect EJB form
|
|
Use the Service tab to identify the properties of the remote EJB service. Complete this tab first before the Create and Remote tabs.
As you work with the form, the information on this tab is used to connect to the JNDI server and automatically complete fields on the Create and Remote tabs.
Field |
Description |
JNDI Server | |
Server Name |
Select the JNDI server (instance of Data-Admin-Connect-JNDIServer) that identifies the EJB container with the bean you want to connect to. To connect to an EJB through its local interface, select the JNDI server named Additionally, this field supports the Global Resource Settings syntax (=PageName.PropertyName). The default property name for this field is |
Lookup Name |
Select a key to use to look up the EJB home object of the remote EJB in the JNDI server. |
Field |
Description |
EJB Home | |
Java Class |
Enter the name of the EJB Home Interface class to use to create an instance of the EJB client stub. If the JNDI Server and Lookup Name values are valid, this value is automatically filled in. |
Create Method |
Optional. Enter the type-signature of the EJB Home Interface method that creates an instance of the EJB client stub (for example: create(String, int)). This field is not required if you select the |
Field |
Description |
EJB Remote | |
Initialize Object |
Select how to initialize the EJB client stub:
|
Java Class |
Enter the name of the EJB Remote Interface class that defines the remote methods that can be called on the EJB client stub instance. If the JNDI server and lookup names are valid, this value is filled in automatically. |
Remote Method |
Enter the type-signature of the EJB Remote Interface method that is called each time this connector is called. For example: getListValue(int) |
Finalize Object |
Select how to finalize the EJB client stub:
|
Object Handle Property |
Optional. Select a |
Field |
Description |
Error Handling | |
Status Value Property |
Optional. Select a property for reporting the status of the remote service request. You can use the standard property @baseclass.pyStatusValue. The literal value |
Status Message Property |
Optional. Select a property for providing more information about errors that occur when processing the remote service request. You can use the standard property @baseclass.pyStatusValue. |
Invocation Exception Property |
Optional. Select a property of mode |
Error Handler Flow |
Optional. Identify a flow rule that is to be started when this connector rule is started by a flow rule but fails. The default flow rule Work-.ConnectionProblem provides one approach for handling such problems. See Handling connector exceptions. |
Test Connectivity |
Click this button at any time after you have completed the information on this tab to confirm that the Pega Platform can connect to the JNDI server identified and can validate the Home Interface and Remote Interface. Note: The Test Connectivity button does not work if either the The system presents test results in a separate window, identifying the parameters used in the test, the steps attempted, and the outcome of each step. |
Generate Test Client |
As a debugging aid, if your Pega Platform is hosted on a Java EE-platform (not Apache Tomcat) you can generate a stand-alone Java client program that calls the EJB.
This produces a Java source file in the |
Simulations |
Click to create a simulator for this connect rule. See Creating Connect Simulators. |