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

Using a Spring bean in an SOA composite

In this recipe, we will call a Spring bean from within a composite. This is useful if we have an existing Spring bean that we wish to use; it is also a useful way to wrap other Java code.

Getting ready

Make sure that you have a composite open to add the Spring component.

How to do it...

  1. Copy Java libraries to a composite.

    Copy any JAR file you will be using to the SCA-INF/lib directory and any class that is not in a JAR file to the SCA-INF/classes directory of your project. Open the Project Properties by right-clicking on the project name in the Application Navigator. Select the Libraries and Classpath section and click on the Add JAR Directory button, and select the JAR file in the SCA-INF/lib directory or the ...

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