The ALSB tutorials are based on a typical web services scenario that uses ALSB for configuring business services and adaptive message routing. This section describes the tasks required to configure the ALSB and Weblogic Server environment to deploy the business cases used in the tutorials. The ALSB example suite is used as a basis for instruction in the following tutorials. (See AquaLogic Service Bus Examples).
This topic consists of the following sections:
After completing this section, you will know how to deploy a typical ALSB environment in which you can define resources and design web services. You must complete all the tasks in this section before you start the tutorials.
The tutorials are based on a mortgage broker scenario describing a typical loan application process. A primary mortgage company uses ALSB to route loan applications to appropriate business services. The loan applications are routed to different business services depending on qualifying criteria, such as the requested interest rate and the requested principal amount. The applicant’s credit rating information is required to complete the loan application when the principal amount is greater than US $25 million.
In the first tutorial, you will become familiar with the basic functionality of ALSB that facilitates web service mediation, including message routing and web service resource creation. In subsequent tutorials you will develop and customize web services for routing, transforming and validating a loan application.
Do the following to set up and run the tutorials:
The files (including pre-built business services) that support the building of the tutorial solutions are located in the following directory:
BEA_HOME\alsb_3.0\samples\servicebus\examples
The tutorial files contain properties that you must set to run the tutorials. In the tutorial, you can use four different business services. Each business service also has a set of files associated with it. The structure for each of the business services is the same. The directory structure for one of the business services– the NormalLoan business service, is described in Table 2-1. You can explore the other directories as an exercise.
Install ALSB. For installation instructions, see AquaLogic Service Bus Installation Guide.
To develop and run the ALSB tutorials, you must create an ALSB domain using the Configuration Wizard. You can invoke the Configuration Wizard in the graphical mode or console mode. For this tutorial, you will start the Configuration Wizard in graphical mode.
Start > All Programs > BEA Products > Tools > Configuration Wizard
For more information, see Creating WebLogic Domains Using the Configuration Wizard.
You can start ALSB using one of the following methods:
Start > All Programs > BEA Products > User Projects > domain_name > Start Server. For example, to start the server for the Servicebustutorial domain select Start > All Programs > BEA Products > User Projects > Servicebustutorial> Start Server
When ALSB is started, a server command console window will display status information about WebLogic Server.
Note: | A valid username and password is required to start the server, if a production mode domain is used. For more information about creating and configuring domains, see Creating WebLogic Domains Using the Configuration Wizard. |
To test the loan application using the test console, you must first deploy the client jars in the WLS console, which are available at {BEA_HOME}\alsb_3.0\samples\servicebus \examples\build\webservices.
The following client jars are available:
To deploy creditLoan_jws_basic_ejb client jar:
BEA_HOME\alsb_3.0\samples\servicebus\examples\build\webservices
creditLoan_jws_basic_ejb
(see Figure 2-10). Click Next to choose the targeting style. For more information on deploying and starting client jars in WLS console, see Enterprise Applications in Administration Console Online Help.
You must repeat step 1 to step 3 to deploy largeLoan_jws_basic_ejb
, manager_jws_basic_ejb
, and normalLoan_jws_basic_ejb
in the WLS console.
ALSB Console is a web services management dashboard, which allows you to monitor web services and servers, and perform service management tasks. The console enables you to perform operational tasks such as configuring proxy and business services, setting up security, managing resources, and capturing data for tracking or regulatory auditing. It provides views to monitor current state and health of the ALSB environment by displaying detailed statistics about servers, services, and alerts. The ALSB Console also enables you respond rapidly and effectively to changes in your service-oriented environment.
where host:port represents the name and port number of the machine on which WebLogic Server is running. The default port for WLS is 7001.
Enter http://localhost:7001/sbconsole
URL in your browser to open the ALSB console for the Servicebustutorial domain.
Note: | You can also open the ALSB Console from the Windows Start menu by selecting the following options: |
Note: | Start > All Programs > BEA Products > User Projects > Servicebustutorial > AquaLogic Service Bus Admin Console for ALSB Admin Console |
After you complete the tasks required to set up the tutorials, you can proceed to Tutorial 1. Routing a Loan Application, which describes how you can configure AquaLogic Service Bus with the resources required for the loan application routing scenario. Each of the tutorials include instructions to design and configure the ALSB resources, and procedures you can use to test the completed configurations.