
Chapter 20
J2EE SLEE Integration
20.1 Introduction
The Rhino SLEE can inter-operate with a J2EE 1.3-compliant server in two ways:
1. SBBs can obtain references to the home interface of beans hosted on an external J2EE server, and invoke those beans via
J2EE’s standard RMI-IIOP mechanisms.
2. EJBs residing in an external J2EE server can send events to the Rhino SLEE via the standardised mechanism described
in the JAIN SLEE 1.0 Final Release specification, Appendix F.
The following sections describe how to configure Rhino and a J2EE server to enable SLEE-J2EE interoperability. The examples
discussed have been tested with SUN Microsystems Java Application Server 8.0, BEA WebLogic Server 7.0 and Jboss.org’s
Jboss. The examples should work with any J2EE 1.3-compliant application server.
Please note that the Appendix F of the JAIN SLEE 1.0 Final Release specification includes source code fragments for both
SBBs invoking EJBs and EJBs sending events to a JAIN SLEE product.
20.2 Invoking EJBs from an SBB
The current version of the Rhino SLEE requires that each EJB type to be accessed by an SBB be explicitly configured prior to
SLEE startup. This is done by editing
$RHINO_HOME/etc/defaults/config/rhino-config.xml
.
An example configuration is shown below.
118
Kommentare zu diesen Handbüchern