JBoss ESB 4

 

 

 

 

 

JBoss ESB 4.0 Beta 1

Trailblazer

JBESB-TB-9/22/06

 

 

 

 

 

 

 

 

 

 

 

 

 

Contents





 


About This Guide

What This Guide Contains

The Error! Reference source not found. contains information describing the Loan Broker Scenario deployed with the JBoss ESB 4.0 Beta 1.  The information in this document is meant to help understand how to use the ESB in a �real-world� scenario not unlike what many developers and architects might face in their day to day project work.

Note:For the beta release, we recommend that you use this manual in conjunction with the Programmers Guide, the user forum (http://www.jboss.com/index.html?module=bb&op=viewforum&f=246) and the javadocs associated with the code.

Audience

This guide is most relevant to engineers who are responsible for using JBoss ESB 4.0 Beta 1 installations and want to know how it relates to SOA and ESB principles.

Prerequisites

None.

Organization

This guide contains the following chapters:

Chapter 1, Scenario Overview: What is the �problem� we are applying the JBoss ESB against.

Chapter 2, How to Deploy: A step-by-step how-to deploy the trailblazer and run it.

 

Documentation Conventions

The following conventions are used in this guide:

Text Box: Convention	Description
Italic	In paragraph text, italic identifies the titles of documents that are being referenced.  When used in conjunction with the Code text described below, italics identify a variable that should be replaced by the user with an actual value.
Bold	Emphasizes items of particular importance.
Code	Text that represents programming code.
Function | Function	A path to a function or dialog box within an interface.  For example, �Select File | Open.� indicates that you should select the Open function from the File menu.
( ) and |	Parentheses enclose optional items in command syntax. The vertical bar separates syntax items in a list of choices. For example, any of the following three items can be entered in this syntax:
persistPolicy (Never | OnTimer | OnUpdate | NoMoreOftenThan)
Note:

Caution:	A note highlights important supplemental information.
A caution highlights procedures or information that is necessary to avoid damage to equipment, damage to software, loss of data, or invalid test results.
Table 1      Formatting Conventions

Additional Documentation

In addition to this guide, the following guides are available in the JBoss ESB 4.0 Beta 1 documentation set:

1.     JBoss ESB 4.0 Beta 1 Programmer�s Guide:  Provides guidance for writing applications.

2.     JBoss ESB 4.0 Beta 1 Getting Started Guide: Provides a quick start reference to configuring and using the ESB.

3.     JBoss ESB 4.0 Beta 1 Configuring Hypersonic Guide: This is necessary for setting up the Hypersonic database if you want to use it within the trailblazer.

Contacting Us

Questions or comments about JBoss ESB 4.0 Beta 1 should be directed to our support team.

Chapter 1           

Scenario Overview

Overview

The purpose of an ESB, as part of an SOA strategy and architecture, is to be the central command and control through which disparate applications communicate, publish, and ultimately consume data to and from the enterprise systems in an organization.  It is also ideally suited to allow your in-house systems to communicate with your partners systems.

 

Now that we created the JBoss ESB 4.0 Beta 1 release, we needed a scenario, or a problem domain to address.  A tool is only as good as the problem it solves the saying goes.  With that in mind, we needed some sort of scenario which would allow you to easily see the features and capabilities of the JBoss ESB, and how it could aid you in your enterprise with your particular needs.  One such scenario has already been documented and prototypes by other ESB vendors, because it is such an obvious scenario that anyone can relate to.  The scenario is the Loan Broker, as described in the EAI Patterns website.  Why come up with a different scenario?  If it�s good enough for the EAI Patterns guys, it�s good enough for us as well.

 

The scenario in summary is the following:

 

A Loan Broker system is responsible for collecting Loan Requests from Customers and then forwarding those Requests to Banks for Processing.  Once the Banks have processed those Requests, Quote Responses, if any from each of the banks is sent back to the Customer for their review, and hopefully for the bank�s sake, acceptance from the Customer.

 

The Loan Broker needs to collect the data required by each of the banks, log it, and then forward it to each of the banks using the communication protocol and data format that each bank expects to receive such data.  Once the bank has decided to issue a Quote, the Loan Broker must receive the data, again in a unique format and communication protocol specified by each of the banks.

 

In a nutshell, the Loan Broker is required to: collect, transform, and ship data around to various systems; an ideal candidate for an ESB solution.

 

The JBoss ESB Beta 1 Trailblazer will have the following components:

  • A JSr-181 Web Service endpoint – this is the �entry point� into the ESB
  • a simulated set of Banks (2) which will receive and transmit data in 2 distinct format and communication channels.
  • Communication protocols: JMS and File
  • Data Formats: XML and flat file delimited
  • For more detailed information on how the simulated Banks work, please look at the source code found in the source packages through SVN access.  Remember please that the Banks are a simulation.

 

The diagram below shows the scenario provided in the Trailblazer:

 

 

 

Chapter 2           

Scenario Overview

Overview

The purpose of an ESB, as part of an SOA strategy and architecture, is to be the central command and control through which disparate applications communicate, publish, and ultimately consume data to and from the enterprise systems in an organization.  It is also ideally suited to allow your in-house systems to communicate with your partners systems.

 

Now that we created the JBoss ESB 4.0 Beta 1 release, we needed a scenario, or a problem domain to address.  A tool is only as good as the problem it solves the saying goes.  With that in mind, we needed some sort of scenario which would allow you to easily see the features and capabilities of the JBoss ESB, and how it could aid you in your enterprise with your particular needs.  One such scenario has already been documented and prototypes by other ESB vendors, because it is such an obvious scenario that anyone can relate to.  The scenario is the Loan Broker, as described in the EAI Patterns website.  Why come up with a different scenario?  If it�s good enough for the EAI Patterns guys, it�s good enough for us as well.

 

The scenario in summary is the following:

 

A Loan Broker system is responsible for collecting Loan Requests from Customers and then forwarding those Requests to Banks for Processing.  Once the Banks have processed those Requests, Quote Responses, if any from each of the banks is sent back to the Customer for their review, and hopefully for the bank�s sake, acceptance from the Customer.

 

The Loan Broker needs to collect the data required by each of the banks, log it, and then forward it to each of the banks using the communication protocol and data format that each bank expects to receive such data.  Once the bank has decided to issue a Quote, the Loan Broker must receive the data, again in a unique format and communication protocol specified by each of the banks.

 

In a nutshell, the Loan Broker is required to: collect, transform, and ship data around to various systems; an ideal candidate for an ESB solution.

 

The JBoss ESB Beta 1 Trailblazer will have the following components:

  • A JSr-181 Web Service endpoint – this is the �entry point� into the ESB
  • a simulated set of Banks (2) which will receive and transmit data in 2 distinct format and communication channels.
  • Communication protocols: JMS and File
  • Data Formats: XML and flat file delimited
  • For more detailed information on how the simulated Banks work, please look at the source code found in the source packages through SVN access.  Remember please that the Banks are a simulation.

 

The diagram below shows the scenario provided in the Trailblazer: