IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions

Access Enterprise JavaBeans (EJB) services

Imports allow connectivity to services outside of IBM BPM environments, while exports are published interfaces from a component or import that offers its service to the outside world (for example, as a web service). EJB (Enterprise JavaBeans) services are accessed through the creation of EJB imports and exports.

Imports

Imports have interfaces that are the same as, or a subset of, the interfaces of the remote service that they are associated with so that those remote services can be called. Imports also require binding information, which specifies the means of transporting the data from the modules. The EJB import binding invokes Java 2 Platform Enterprise Edition business logic using the EJB 2.1 or EJB 3.0 programming model.

The generated import will have data bindings that make the Java-WSDL connection instead of requiring a Java™ bridge component. This will allow for the direct wiring of a component with a Web Services Description Language (WSDL) reference to the EJB import which communicates to an EJB-based service using a Java interface.

An EJB import can be used in the following scenarios:

  • You have a PI (project interchange) file which was created in Rational Application Developer that has an EJB application.

  • You have a EJB client JAR file in the module.

  • You have EJB Java classes that have been copied in a project in the workspace.

  • You have an EAR file that contains the EJB application created outside of IBM Integration Designer.

Exports

External Java EE applications can invoke an SCA component by way of an EJB export binding. Using an EJB export lets you expose SCA components so that external Java EE applications can invoke those components using the EJB programming model.

The EJB export bindings can interact with Java EE business logic using either the EJB 2.1 programming model or the EJB 3.0 programming model.

Important: When working with EJB imports and EJB exports, note the following:

The following topics describe concepts and step-by-step instructions for creating EJB imports and EJB exports using IBM Integration Designer: