EJB2Remote
The EJB2Remote activity invokes remote methods on the remote object from an EJB server for EJB 2.x. This activity must be placed after an EJB2Home activity in a process definition.
General
The General tab contains the following fields:
Field | Module Property? | Description |
---|---|---|
Name | No | Name to be displayed as the label for the activity in the process. |
Home Activity | No | The EJB2Home activity in the process definition that obtained the reference to the remote object.
The list only supplies EJB2Home activities that obtain references to remote objects. EJB2Home activities that do not create remote objects are not listed. |
Remote Interface Class | No | Name of the remote interface (the interface which extends javax.ejb.EJBObject) obtained by the EJB2Home activity. This field is populated automatically based on the selected EJB2Home activity. |
Remote Interface Method | No | Method of the remote interface to call. The list provides a list of public methods contained in the remote interface class. |
Advanced
The Advanced tab contains the following fields:
Field | Module Property? | Description |
---|---|---|
Release Remote Object | No | If this field is selected, the remote object is released after this activity is completed. If this field is clear, the remote object is used by subsequent EJB2Remote activities within this process definition.
This field is only meaningful for stateful session and entity beans. Cached remote stateless session beans are never released when this field is checked. This field is useful if you want to release the memory used by the stateful session and entity bean before continuing with the remainder of the process definition. |
Fault
The Fault tab lists exceptions that are thrown by this activity:
Error Schema Element | Data Type | Description |
---|---|---|
errorCode | string | The error code returned by the plug-in. |
errorMessage | string | The error message returned by the plug-in. |
errorStackTrace | string | The complete stack trace that causes the exception. |
exceptionClassName | string | The class name of the root exception that causes the exception. |