...
Parameter Name | Description |
---|---|
Beanstalk ID | Reference to the application server specific connection source information, which is defined at the synapse.properties. |
Class | This required the remote interface definition provided in the EJB 3.0 (EJB service invocation remote/home interface). |
Session ID | When the EJB context is invoked in the form state-full bean then the related ejb session status specified will be stored in here. Possible values are as follows.
|
Remove | Once invoke state-full/stateless session user can force and ask the Enterprise entity manager to remove the ejb context related parameters This parameter specifies whether the Enterprise Entity Manager should remove the EJB context related parameters once the state full/stateless session is invoked. |
Target | If a particular EJB method returns, then the return object can be saved against the the name provided in the target at the synapse property context Expression/Value. |
JNDI Name | The Java Naming and Directory Interface (JNDI) is an application programming interface (API) for accessing different kinds of naming and directory services. JNDI is not specific to a particular naming or directory service, it . It can be used to access many different kinds of systems including file systems; distributed objects systems like such as CORBA, Java RMI, and EJB; and directory services like such as LDAP, Novell NetWare, and NIS+. |
Method ArgumentsAdd Argument | Can be used to define the arguments which is required for the particular ejb method to be invoked Expression/Value. |
...
Info | ||
---|---|---|
| ||
You can configure the Mediator using XML. Click on "switch to source view" in the "Mediator" window. |
EJB specific options
...
...
Example
Code Block | ||||
---|---|---|---|---|
| ||||
<ejb beanstalk="jack" class="org.ejb.wso2.test.StoreRegister" method="getStoreById" target="store" jndiName="ejb:/EJBDemo/StoreRegsiterBean!org.ejb.wso2.test.StoreRegister"> <args> <arg xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" value="{get-property('loc_id')}"/> </args> </ejb> |
...