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 Dependent 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 (only for 2.1 services).
3. Edit the flow to map the output of one or more InvokeEJB 2.1 or InvokeEJB 3.0 calls to the input(s) of one or more subsequent InvokeEJB 2.1 or InvokeEJB 3.0 calls.
4. Execute the flow and enter the appropriate method inputs (if any) when prompted.
5. 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
*The results of each bean method invocation
6. 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.