Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Initial
Wiki Markup
{scrollbar}

Anchor
top
top

Enterprise messaging has become an increasingly important component of loosely coupled, reliable enterprise frameworks. This is due in large part to the proliferation of enterprise applications and disparate enterprise resources, and the increasing need to integrate these applications into cohesive systems. Introduction of Message Driven Beans (MDBs) in the Enterprise Java Beans 2.0 have served as a solution for this new messaging paradigm. MDBs provides a reusable J2EE messaging component that can leverage existing investments in J2EE application servers, specifically EJBs. Apache Geronimo supports this vital API by integrating one of the best breed open source messaging frameworks ActiveMQ. This article will guide you a way to use MDBs in enterprise application scenario in both as a locally and remotely reffered enviroments with Geronimo and ActiveMQ.

...

Following figure gives the overall architecture of the order processing application.

Application contents

The Order Processing order placement application consist of following list of packages and classes.

  • org.apache.geronimo.samples.order.client
    • ConsignmentSender -
  • org.apache.geronimo.samples.order.ejb
    • OrderRecvMDB -
  • org.apache.geronimo.samples.order.util
    • PropertyLoader - Loads configuration properties to the order processing applocation.
  • org.apache.geronimo.samples.order.web
    • OrderMgmtServlet -

Finally Order Processing order placement application will be deployed as an EAR to the application server. Overview of the contents of EAR is given in the following.

...

The tools used for developing and building the Banking applications order placement application are:

XDoclet

XDoclet is an open source code generation engine. It enables Attribute-Oriented Programming for java. In short, this means that you can add more significance to your code by adding meta data (attributes) to your java sources. This is done in special JavaDoc tags.
Although XDoclet originated as a tool for creating EJBs, it has evolved into a general-purpose code generation engine. XDoclet consists of a core and a constantly growing number of modules. It is fairly straightforward to write new modules if there is a need for a new kind of component.
http://xdoclet.sourceforge.net/xdoclet/index.html

...