Oracle® BPEL Process Manager Quick Start Guide
10g Release 2 (10.1.2) B15604-02 |
|
Previous |
Next |
This chapter provides an overview of how the business process execution language (BPEL) and Oracle BPEL Process Manager enable you to design service-oriented architecture (SOA)-based applications by developing synchronous and asynchronous services into end-to-end BPEL process flows. This chapter also describes how to install and start the Oracle BPEL Process Manager, Oracle BPEL Server, and other key components.
This chapter contains the following topics:
Many companies are looking at Web services and SOA as a method for addressing the integration requirements involved in building connected applications. While SOA has existed for over a decade, there was confusion about which interfaces to adopt. BPEL and Web service standards solve this dilemma by addressing common application requirements in an open, portable, and standard way. SOA optimizes business performance by using existing resources and minimizing the cost of deploying new applications. Enterprises adopting these standards and architectural approaches achieve a significant return on investment (ROI) from using the same standards-based approach to building connected applications that they used for building Web applications with Java/Java 2 Platform, Enterprise Edition (J2EE).
Making Web services work is a two-step process:
Publish the services.
Publishing a service involves taking a function within an existing application or system and making it available in a standard way.
Compose, or orchestrate, the services into business flows.
Orchestration involves composing multiple services into an end-to-end business process.
Web services standards, including web services description language (WSDL), extensible markup language (XML), and simple object access protocol (SOAP), have emerged as an effective and highly interoperable platform for publishing services. In addition, high performance binding frameworks enable enterprises to access legacy systems and native Java code without having to wrap them in a SOAP interface.
BPEL is emerging as the clear standard for composing multiple synchronous and asynchronous services into collaborative and transactional process flows. BPEL benefits from over 15 years of research that improves upon its predecessor languages of XLANG and WSFL. BPEL provides the following features:
Web services/WSDL as component model
XML as data model (data loose-coupling)
Synchronous and asynchronous message exchange patterns
Deterministic and nondeterministic flow coordination
Hierarchical exception management
Long-running unit of work/compensation
Since the BPEL specification was submitted to the Organization for the Advancement of Structured Information Standards (OASIS) in March 2003, it has gained the support of nearly every major industry vendor. This provides a great benefit to enterprises that can now implement their business processes in a standard and portable way, avoiding vendor-specific rules to a degree not previously possible.
This section contains these topics:
Oracle BPEL Process Manager provides a user-friendly and reliable solution for designing, deploying, and managing BPEL business processes. Oracle BPEL Process Manager consists of the key components shown in Figure 1-1.
Oracle BPEL Process Manager includes JDeveloper BPEL Designer, which extends the functionality of Oracle JDeveloper to enable you to model, edit, and design business processes using BPEL. JDeveloper BPEL Designer provides a graphical and user-friendly way to build BPEL processes. What is unique about JDeveloper BPEL Designer is that it uses BPEL as its native format. This means that processes built with JDeveloper BPEL Designer are 100% portable. JDeveloper BPEL Designer also enables you to view and modify the BPEL source without decreasing the usefulness of the tool. The core BPEL engine provides the most mature, scalable, and robust implementation of a BPEL server available today. Oracle BPEL Process Manager executes standard BPEL processes. Oracle BPEL Process Manager also provides a dehydration capability that enables the states of long-running flows to be automatically maintained in a database, thus enabling clustering for both fail over and scalability. Oracle BPEL Server uses an underlying J2EE application server, with support for most major commercial application servers and a bundled version available.The built-in integration services enable you to use advanced connectivity and transformation capabilities of standard BPEL processes. These capabilities include support for XSLT and XQuery transformation, and bindings to hundreds of legacy systems through Java connector architecture (JCA) adapters and native protocols. A user task service is provided as a built-in BPEL service to enable the integration of people and manual tasks into BPEL flows.The extensible WSDL binding framework enables connectivity to protocols and message formats other than SOAP. Bindings are available for JMS, e-mail, JCA, HTTP GET, HTTP POST, and many other protocols enabling simple connectivity to hundreds of back-end systems.
Oracle BPEL Console provides a mature Web-based interface for management, administration, and debugging of processes deployed to Oracle BPEL Server. Audit trails and process history and reporting information are automatically maintained and available through both Oracle BPEL Console and a Java API.
Oracle BPEL Process Manager provides the following key differences:
The power of an open standard
By capturing your business processes in BPEL, you protect your intellectual property and investments while avoiding vendor lock-in. BPEL is to business process management what SQL is to data management.
Unparalleled visibility and administration
Oracle BPEL Console reduces the cost and complexity of deploying and managing your business processes. Visually monitor the execution of each BPEL process, drill down into the audit trail and view the details of each conversation, or debug a running flow against its BPEL implementation.
Open and flexible binding framework
You can orchestrate XML Web services, and also Java/J2EE components, portals, JCA interfaces, and Java message service (JMS) destinations. You can tie into back-end systems. You can use your Java skills and application server investments.
Oracle BPEL Process Manager includes the following features:
JDeveloper BPEL Designer
Native BPEL support
Drag-and-drop process modeler
Universal description, discover, and integration (UDDI) and Web services inspection language (WSIL) service browser
Visual XPath editor
One-click build and deploy
Visual monitoring
Auditing
BPEL debugging
Process versioning
In-flight administration
Process performance monitoring statistics
Partitioning/domains
Built-in integration services
Java embedding
E-mail and JMS messaging services
Extensible style sheet language transformation (XSLT) and XQuery transformation services
Workflow tasks and portal integration
Extensible WSIF binding framework
Comprehensive BPEL version 1.1
Synchronous and asynchronous messaging
Context dehydration
Advanced exception management
Side-by-side versioning
Large XML documents
Follow these instructions to install Oracle BPEL Process Manager for Developers. After completing installation, Oracle recommends that you visit the following URL to determine if any patches also require installation:
http://www.oracle.com/technology/bpel
Ensure that you meet the following requirements:
Element | Requirement |
---|---|
Operating system | Windows XP, Windows 2000 with Service Pack 3, Windows 2003 with Service Pack 1, Sun SPARC Solaris version 8 and 9, Red Hat Enterprise Linux AS/ES 2.1 and 3.0, or SUSE Linux Enterprise Server 8 and 9 |
Disk space | 1 GB |
Memory | 512 MB RAM minimum (1 GB preferred) |
Swap space | 1535 MB minimum |
Web browser | Internet Explorer 6.0 or Mozilla Firefox 1.0.4 |
Monitor | Configured to display at least 256 colors |
Large display settings | If you configure your Windows environment to use display settings of large fonts and large size DPI settings (120 DPI), you must configure JDeveloper BPEL Designer after installation. This ensures that all BPEL elements correctly display in JDeveloper BPEL Designer. Perform the following procedures:
|
If installing on Solaris or Linux, see the appropriate Oracle Application Server Installation Guide for each operating system for instructions on:
Setting the mount point for the CD-ROM
Starting Oracle Universal Installer
Insert the CD-ROM.
Start Oracle Universal Installer from the bpel
directory at the root of the CD-ROM:
On... | Do This... |
---|---|
Solaris or Linux | Enter the following command at the operating system prompt:
|
Windows | Click setup.exe .
|
The Welcome screen appears.
Click Next.
The Specify File Locations screen appears.
Create a new Oracle home name and directory path in which to install Oracle components in the Destination fields. Do not use an existing Oracle home name and directory path. For example, enter the following:
Name: OraBPELPM Path: c:\OraBPELPM
Do not change the directory path in the Source field. This is the location of installation files.
Click Next.
The Select Installation Type screen appears.
The following installation types are available:
Product | Description |
---|---|
BPEL Process Manager for Developers | Installs an Oracle JDeveloper-based environment for modeling, editing, designing, and running business processes using BPEL. Oracle BPEL Server and Oracle BPEL Console are also installed. |
BPEL Process Manager for OracleAS Middle Tier | Installs a BPEL server infrastructure for running BPEL processes that you design. This type does not install JDeveloper BPEL Designer. This type requires an Oracle Application Server 10g J2EE middle tier be installed in the chosen Oracle home directory.
See Also: Oracle Application Server Integration Installation Guide for instructions on installing this type |
Select BPEL Process Manager for Developers.
Click Next.
The Specify Outgoing HTTP Proxy Information window appears.
If your host is located behind a fire wall, you may need to route outgoing HTTP connections through a proxy server. Enter the following information. If you are directly connected to the Internet or do not want to configure proxy information now, click Next.
Field | Description | Example |
---|---|---|
HTTP Proxy Host | Enter the name of the proxy server host. | www-proxy.us.acme.com
|
HTTP Proxy Port | Enter the port number of the proxy server host. | 80
|
Bypass proxy for addresses | Enter an address that bypasses the proxy. | *.us.acme.com;us.acme.com<local>
|
Review specific details, including the space requirements to ensure that you have sufficient disk space.
Click Install.
Click Exit when installation completes and confirm when prompted.
Visit the following URL to determine if any patches also require installation:
http://www.oracle.com/technology/bpel
After completing installation, the directory structure shown in Table 1-1 is created:
Table 1-1 Directory Structure
Directory | Description |
---|---|
|
Contains postinstallation configuration tool log files. |
|
Contains an Oracle Universal Installer |
|
Contains the following subdirectories: |
|
|
|
|
|
Contains Oracle Universal Installer installation inventory files. |
|
Contains the required Java Developer's Kit version. |
|
Contains the required Java Runtime environment files. |
|
Contains library files. |
|
Contains path files. |
|
Contains Oracle Universal Installer files. |
|
Contains required Perl script files. |
Follow the instructions in Table 1-2 to start and stop Oracle BPEL Process Manager components.
Table 1-2 Starting and Stopping Oracle BPEL Process Manager Components
To Access The... | On Windows... | On UNIX... |
---|---|---|
Oracle BPEL Server |
To start Oracle BPEL Server: Select Start > All Programs > Oracle - Oracle_Home > Oracle BPEL Process Manager 10.1.2 > Start BPEL PM Server To stop Oracle BPEL Server: Select Start > All Programs > Oracle - Oracle_Home > Oracle BPEL Process Manager 10.1.2 > Stop BPEL PM Server |
To start Oracle BPEL Server: From
To stop Oracle BPEL Server: From
|
JDeveloper BPEL Designer |
Select Start > All Programs > Oracle - Oracle_Home > Oracle BPEL Process Manager 10.1.2 > JDeveloper BPEL Designer to start JDeveloper BPEL Designer, or use the shortcut icon that is placed on your desktop. |
|
Oracle BPEL Console |
You must first start Oracle BPEL Server. To start Oracle BPEL Console:
You can also start Oracle BPEL Console using the URL for your installation, which can found in |
First start Oracle BPEL Server. To start Oracle BPEL Console:
|
Developer Prompt |
Select Start > All Programs > Oracle - Oracle_Home > Oracle BPEL Process Manager 10.1.2 > Developer Prompt to open up a command prompt at the |
Setting Developer Prompt in Bourne shell:
|
Oracle BPEL Process Manager Samples and Tutorials |
For details about BPEL samples and additional tutorials available for use: Select Start > All Programs > Oracle - Oracle_Home > Oracle BPEL Process Manager 10.1.2 > Getting Started with Samples |
Log into the following URL:
|
Sample Worklist Application |
To access the login window for Oracle BPEL Worklist Application: Select Start > All Programs > Oracle - Oracle_Home > Oracle BPEL Process Manager 10.1.2 > Sample Worklist Application You may also start Oracle BPEL Worklist Application using the URL for your installation, which is found in |
First start Oracle BPEL Server. To start Oracle BPEL Worklist Application:
|
See Also: Oracle BPEL Process Manager Order Booking Tutorial for a tutorial that uses Oracle BPEL Worklist Application |
When you start JDeveloper BPEL Designer for the first time, a connection named LocalBPELServer is automatically created. This connection enables you to deploy your BPEL process from JDeveloper BPEL Designer to Oracle BPEL Server. The LocalBPELServer connection is sufficient for completing all tutorials in this guide.
If you want to create additional connections, follow these instructions.
Select Connection Navigator from the View main menu in JDeveloper BPEL Designer.
Right-click BPEL Process Manager Server.
Select New BPEL Process Manager Connection.
Click Next on the Welcome page.
Provide a meaningful name for connecting to the server.
Click Next.
Enter the following details:
Field | Value |
---|---|
Host Name | localhost (default value)
|
Port | 9700 (default value)
|
Click Next.
Test the connection by clicking Test Connection. If the connection is successful, the following message appears:
Success.
Click Finish.
Add the hostname of your computer to the Oracle JDeveloper preference settings. If you do not do this, you can receive parsing errors when selecting a WSDL file on the WSDL Chooser window while creating a partner link.
Select Preferences from the Tools main menu.
Click Web Browser and Proxy.
Enter your hostname in the Exceptions field. For example, if your hostname is myhost-pc
:
us.acme.com|*.us.acme.com|localhost|127.0.0.1|myhost-pc
Ensure also that localhost
appears in the Exceptions field.
Click OK.
You are now ready to design your BPEL process.
As you use JDeveloper BPEL Designer, namespace values such as ns1:, ns2:, or client: can display in an Expression field or Variables navigation tree when creating copy rules in Assign activities, or in fields of other activities.
Oracle BPEL Process Manager attempts to reduce your interaction with namespaces. When a namespace appears in an Expression field or Variables navigation tree, accept the namespace prefixes that display when filling in the parts of your query or expression.
XML namespaces provide a method for distinguishing between duplicate element type and attribute names. Such duplication can occur, for example, in an XSLT style sheet or document that contains element types and attributes from two different DTDs. A <refuse>
element means something entirely different for a sanitation agency than a <refuse>
element for a loan processing agency. For this reason, they are distinguished by different namespace prefixes, such as ns1:, ns2:, or client:.The URIs provide a system for creating unique identifiers.
A production version of Eclipse BPEL Designer is also available as a plug-in on the Eclipse Platform version 3.0GA. The Eclipse Platform is designed for building integrated development environments (IDEs). You can use IDEs to create applications such as Web sites, embedded Java programs, C++ programs, and Enterprise JavaBeans.
For additional details, including Eclipse BPEL Designer and Oracle BPEL Process Manager software downloads, see the following URL: