Product Overview

You can use TIBCO ActiveMatrix BusinessWorks™ Plug-in for EJB to connect to J2EE-compliant application servers and invoke Enterprise JavaBeans (EJB) components, or enterprise beans on the servers.

TIBCO ActiveMatrix BusinessWorks™ is a leading integration platform that can integrate a wide variety of technologies and systems within enterprise and on cloud. TIBCO ActiveMatrix BusinessWorks includes an Eclipse-based graphical user interface (GUI) provided by TIBCO Business Studio™ for design, testing, and deployment. If you are not familiar with TIBCO ActiveMatrix BusinessWorks, see the TIBCO ActiveMatrix BusinessWorks documentation for more details.

TIBCO ActiveMatrix BusinessWorks Plug-in for EJB plugs into TIBCO ActiveMatrix BusinessWorks, which connects TIBCO ActiveMatrix BusinessWorks with EJB containers.

TIBCO ActiveMatrix BusinessWorks supports plug-ins to extend the palette functionality. After installing the plug-in, an EJB Configuration shared resource and an EJB palette become available in the TIBCO Business Studio. You can add the plug-in activities to the BusinessWorks process you are designing, and integrate them with the BusinessWorks process.

At run time, the plug-in activities are performed as part of the BusinessWorks process execution. Each plug-in consists of activities which share common functionality and properties.

The following three activities are included in the EJB palette:
  • EJB2Home activity: you can use this activity to retrieve EJB home object and create EJB remote object for EJB 2.x.
  • EJB2Remote activity: you can use this activity to invoke the EJB remote method which is deployed on the EJB server for EJB 2.x.
  • EJB3Remote activity: you can use this activity to get EJB remote object and invoke the remote method which is deployed on the EJB server for EJB 3.x.

Integrating with JMS

To handle the message-driven beans, you must integrate the EJB palette of this plug-in with the JMS palette of TIBCO ActiveMatrix BusinessWorks. When you design the BusinessWorks processes with this plug-in, only session beans and entity beans are supported.

Sending or Receiving Java Objects

Occasionally input parameters or return values for enterprise beans are Java objects. To send or receive a Java object to or from an EJB, use the Java palette to create the object within the process definition. For more information on how to work with Java objects in process definitions, see TIBCO ActiveMatrix BusinessWorks Bindings and Palettes Reference.

Examples:
  • To call a remote method that requires a Java object as an input parameter, create an object with the Java Invoke activity.
  • To use a Java object received as a return value from an EJB, parse an object to the Java Invoke activity.