Running Multiple Dependent Methods on a Single Bean
This scenario illustrates how to invoke two or more methods on the same remote EJB and view the results. Note that in one or more cases, the input parameter(s) passed to a method are the output return value(s) from one or more methods run previously.