Show TOC Start of Content Area

Component documentation Using Message Driven Beans in SAP NetWeaver Application Server Locate the document in its SAP Library structure

The Task

Here you will find information how to set up a Java Message Service (JMS ) environment and develop Message Driven Beans (MDBs) on the SAP NetWeaver Application Server.

JMS is a messaging standard designed to eliminate many of the disadvantages of Message Oriented Middleware products faced over the past years. JMS allows two different styles of messaging (often called messaging domains):

      Publish/Subscribe – where many message producers talk to many message consumers.

      Point-To-Point – where multiply producers send messages to a queue, but each message is delivered only to one consumer. Usually the messages are delivered according to the First-In-First-Out (FIFO) strategy.

Here is an overview of the JMS API programming model:

This graphic is explained in the accompanying text

Overview of the JMS API Programming Model

Objective

By the end of this tutorial you will be able to create and use MDBs on the SAP NetWeaver Application Server, using the SAP’s JMS Provider..

Prerequisites

System, Installed Applications, and Authorizations

      SAP NetWeaver Developer Studio is installed.

      AS Java is installed.

      JDK 1.4 of the SUN Microsystems is installed.

      You have administrative privileges to manage the configuration of the applications on the J2EE Engine.

Knowledge

      Java programming language

      Basic understanding of the JMS programming model.

      Basic understanding of the MDB and EJB programming concepts.

      You have access to the AS Java.

      The procedures in this tutorial assume that you use the workbench default settings (Auto build, etc.).

Overview of the Steps in the Tutorial

These are the steps you have to take to as s JMS client in order to send or receive messages:

...

       1.      Setting Up the JMS Environment Using the Visual Administrator.

       2.      Defining the Connection Factory and Destination Wrapper Objects.

       3.      Deploying the Connection Factories and Destinations.

       4.      Deploying the Connection Factories and Destinations.

       5.      JMS Client Example

       6.      Create and set up the Message Driven Bean.

       7.      Running the Example.

Next Step

Setting Up the JMS Environment Using the Visual Administrator

End of Content Area