EJB3Remote

The EJB3Remote activity connects to an EJB server for EJB 3.x, performs a JNDI lookup operation to obtain a reference to the remote object, and invokes remote methods.

General

In the General tab, you can establish a connection to an EJB server for EJB 3.x.

Field Module Property? Description
Name No The name to be displayed as the label for the activity in the process.
Use Cached Remote Object No If this check box is selected, the Cache From field is displayed, and you can choose an existing remote object.

If this check box is cleared, the EJB Configuration and JNDI Name fields are displayed.

Cache From No The remote object that you want to reuse.
Note: This field is displayed only when the Use Cached Remote Object check box is selected.
EJB Configuration Yes An EJB Configuration shared resource defines a set of relationships and their participating entities.

Click to select an EJB Configuration shared resource.

Note: This field is displayed only when the Use Cached Remote Object check box is cleared.
JNDI Name Yes The name registered with the JNDI server for EJB.
Note: This field is displayed only when the Use Cached Remote Object check box is cleared.
Remote Interface Class No The name of the remote interface for EJB 3.x, which includes the annotation @Remote (javax.ejb.Remote).

Click to display the available classes for enterprise beans.

Remote Interface Method No The remote interface method to be called. The list provides the methods contained in the selected interface class in the Remote Interface Class field.

Description

In the Description tab, you can enter a short description for the EJB3Remote activity.

Advanced

In the Advanced tab, you can specify the remote objects that you want to release.

The following table lists the configurations in the Advanced tab of the EJB3Remote activity:

Name Module Property? Description
Release Remote No If this check box is selected, the remote object is released after this activity is completed.

If this check box is cleared, the remote object is put in a cache pool after this activity is completed; therefore, you can reuse this remote object in the other EJB3Remote activities.

Input

The following table lists the input element in the Input tab of the EJB3Remote activity:

Input Item Data Type Description
MethodParameters Complex An object containing the parameters required by the remote interface method. This item is displayed only if the method selected in the General tab requires parameters.

Output

The following table lists the output element in the Output tab of the EJB3Remote activity:

Output Item Data Type Description
MethodReturnValue Complex The value returned by the remote interface method. This item is displayed only if the remote interface method selected in the General tab returns a value.

Fault

In the Fault tab, you can find the error code and error message of the EJB3Remote activity. See Error Codes for more detailed explanation of errors.

The following table lists error schema elements in the Fault tab of the EJB3Remote activity:

Error Schema Element Data Type Description
errorCode String Displays the error code returned by the plug-in.
errorMessage String Displays the error message returned by the plug-in.
errorStackTrace String Displays the complete stack trace that causes the exception.
exceptionClassName String Displays the class name of the root exception that causes the exception.