Show TOC

Function documentationEJB Callback

 

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 Start of the navigation path Content Development Next navigation step Tools and Archives End of the navigation path.

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.

Features

This action includes the following properties:

Property

Description

Local or Remote

If you want to run the lookup on the server on which you are currently using, select Local. If you select Local, connection and credential information is not required. If you want to use a different server, select Remote. If you are using a remote server, you must define connection data in the System Connection Editor screen.

Connection Alias

The alias for your SAP server; not required for local EJB interfaces.

Server

The server name

Port

The port number

Credential Alias

The alias name for your user name and password; not required for local EJB interfaces.

JNDI Lookup

The registered name of the EJB you are calling in the Java Naming and Directory Interface (JNDI) of SAP NetWeaver

ParameterMap

In the Link Editor

The set of name-value pairs you can set to the EJB interface