O'Reilly logo

Oracle Service Bus 11g Development Cookbook by Eric Elzinga, Mischa Kölliker, Jan van Zoggel, Edwin Biemond, Guido Schmutz

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

Exposing an EJB session bean as a service on the OSB using the EJB transport

As the version of OSB is 11gR1 we can use an EJB version 3.0 session bean in an OSB business service. Before 11gR1, only EJB version 2.1 was supported.

In this recipe, we will create and test a business service—JB and JEJB transport. The business service calls a session bean that returns the Java object in XML or as a Java object with the JEJB transport.

Exposing an EJB session bean as a service on the OSB using the EJB transport

Getting ready

Make sure that the EJB session bean is deployed to the OSB server as shown in the Introduction section of this chapter.

How to do it...

First we will have to register an EJB client JAR as a resource in Oracle ...

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