Browse Prior Art Database

Invoking existing EJBs from asynchronous messages Disclosure Number: IPCOM000014780D
Original Publication Date: 2001-Jun-16
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue



The IBM WebSphere family of products implements a server system that provides a mechanism for users to deploy and exploit Enterprise Java* Beans (EJBs) for their applications. This server environment is supported by suitable development tools. EJBs are called synchronously from Java clients using the IIOP network format. There is a growing need to enable the invocation of EJBs as a result of the arrival of a JMS message. This disclosure describes a design pattern for providing this support that makes use of a proposed extension to the EJB specification (EJB 2.0) called Message-driven Beans (MDB). It enables existing EJBs to be invoked as a result of the arrival of a JMS message without having to change these existing EJBs into MDBs. The advantage of this design pattern is that the existing EJBs can then be invoked from either IIOP or JMS. The EJB 2.0 draft specification introduces a Message-driven bean (MDB), a third type of EJB, which may be thought of as a simplified type of Stateless Session bean. An MDB has no home or remote interface, and therefore cannot be invoked via IIOP. This invention solves this problem by providing an interface layer to receive the initial message, map the message to provide a set of parameters for an EJB, and then identify and invoke an existing EJB containing the Business Logic. Server1