O'Reilly logo

Oracle SOA Suite 11g Developer's Cookbook by Matt Wright, Antony Reynolds

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Calling an EJB from an SOA composite

In this recipe, we will call an Enterprise Java Bean Session Bean from within a composite. This is useful if we have an existing EJB that we wish to re-use.

Getting ready

Make sure that you have opened the composite to which you will add the EJB reference. There will be one item in the list for each parameter of our function.

How to do it...

  1. Add an EJB reference.

    Open the composite in JDeveloper and drag the EJB Service from the Component Palette onto the References section of the composite.xml Design View.

    How to do it...
  2. Start configuring EJB.

    Select a Name for the EJB reference. Select the Type as Reference. Select the Version ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required