Adapter for Enterprise JavaBeans 6.5 SP3 | webMethods Adapter for Enterprise JavaBeans Documentation | webMethods Adapter for Enterprise JavaBeans Installation and User’s Documentation | Scenarios | Running Multiple Independent Methods on a Single Bean | Steps
 
Steps
1. Using Designer, create a flow consisting of the following adapter service calls:
a. CreateEJB 2.1 or FetchEJB 3.0
b. Each of the corresponding InvokeEJB 2.1 or InvokeEJB 3.0 services you want to execute (two or more)
c. RemoveEJB (only for 2.1 services)
2. Edit the flow to map the output of CreateEJB 2.1 or FetchEJB 3.0 (which is the bean object) to the corresponding input bean object in each of the corresponding InvokeEJB 2.1 or InvokeEJB 3.0 calls and the RemoveEJB call.
Note:
RemoveEJB service is used only for 2.1 services.
3. Execute the flow and enter the appropriate method inputs when prompted.
4. Observe the results in the flow's output:
*A successful status for the EJB create or fetch service invocation
*A successful status for each of the bean method invocations
*If successful, RemoveEJB returns nothing
*The results of each bean method invocation
5. For information about the CreateEJB 2.1, FetchEJB 3.0, InvokeEJB 2.1, and InvokeEJB 3.0 adapter services, see Adapter Services. For information about the RemoveEJB service, see Removing EJBs.