|
The Oracle Service Bus tutorials are based on a typical Web services scenario that uses Oracle Service Bus for configuring business services and adaptive message routing. This section describes the tasks required to configure the Oracle Service Bus and Weblogic Server environment to deploy the business cases used in the tutorials. The Oracle Service Bus example suite is used as a basis for instruction in the following tutorials. (See Oracle Service Bus Examples).
This topic consists of the following sections:
After completing this section, you will know how to deploy a typical Oracle Service Bus 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 Oracle Service Bus 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 Oracle Service Bus 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\osb_10.3\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 Oracle Service Bus. For installation instructions, see Oracle Service Bus Installation Guide.
To develop and run the Oracle Service Bus tutorials, you must create an Oracle Service Bus 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 > Oracle WebLogic > WebLogic Server 10gR3 > Tools > Configuration Wizard
For more information, see Creating WebLogic Domains Using the Configuration Wizard.
You can start Oracle Service Bus using one of the following methods:
Start > All Programs > Oracle WebLogic > User Projects > domain_name > Start Server for Oracle Service Bus Domain.
For example, to start the server for the ServiceBusTutorial domain select Start > All Programs > Oracle WebLogic > User Projects > ServiceBusTutorial > Start Server for Oracle Service Bus Domain
When Oracle Service Bus 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 WebLogic Server Administration Console, which are available at {BEA_HOME}\osb_10.3\samples\servicebus \examples\build\webservices. The following client jars are available:
To deploy creditLoan_jws_basic_ejb client jar:
BEA_HOME\osb_10.3\samples\servicebus\examples\build\webservicesRepeat the previous steps to deploy largeLoan_jws_basic_ejb, manager_jws_basic_ejb, and normalLoan_jws_basic_ejb in the WebLogic Server console.
For more information on deploying and starting client jars in WebLogic Server console, see Enterprise Applications in Administration Console Online Help.
Oracle Service Bus Console is a Web services management dashboard that 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 Oracle Service Bus environment by displaying detailed statistics about servers, services, and alerts. The Oracle Service Bus Console also enables you respond rapidly and effectively to changes in your service-oriented environment.
Enter http://localhost:7001/sbconsole URL in your browser to open the Oracle Service Bus Console for the ServiceBusTutorial domain. Log in if necessary with Oracle Service Bus Console the user name and password that you specified when you created the Oracle Service Bus tutorial domain.
| Note: | You can also open the Oracle Service Bus Console from the Windows Start menu by selecting the following options: |
| Note: | Start > All Programs > Oracle WebLogic > User Projects > ServiceBusTutorial > Oracle Service Bus Admin Console for Oracle Service Bus 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 Oracle Service Bus with the resources required for the loan application routing scenario. Each of the tutorials include instructions to design and configure the Oracle Service Bus resources, and procedures you can use to test the completed configurations.
|