You use this action to execute a remote function call using Enterprise JavaBeans (EJB). You can pass XML documents through the EJB interface provided by SAP MII to a local or remote EJB implementation.
You can use this action to callback an EJB from an SAP MII transaction. EJBCallbackAction
can call back any Local or Remote EJB which implements com.sap.xmii.bls.executables.actions.ejb.EJBCallbackLocal
or com.sap.xmii.bls.executables.actions.ejb.EJBCallbackRemote
interfaces. These interfaces are available in Custom Actions SDK available under .
EJBCallbackLocal
or EJBCallbackRemote
defines the method called callback() which needs to be implemented by the EJB. Callback method accepts parameters in a map with parameter name as key and values as VariantData
objects (classpath: com.sap.lhcommon.common.VariantData
). VariantData
class can manage different types of variant data, such as Boolean, Integer, Double, List and so on. All the supported data types are defined in com.sap.lhcommon.common.VariantDataTypes
.
This action includes the following properties:
Property | Description |
---|---|
| If you want to run the lookup on the server on which you are currently using, select |
| The alias for your SAP server; not required for local EJB interfaces. |
| The server name |
| The port number |
| The alias name for your user name and password; not required for local EJB interfaces. |
| The registered name of the EJB you are calling in the Java Naming and Directory Interface (JNDI) of SAP NetWeaver |
| In the The set of name-value pairs you can set to the EJB interface |