Professional Documents
Culture Documents
By Santosh.G
Agenda
What is BPEL? What is BPEL PM? About Jdeveloper Components of BPEL Process Activities Oracle Business Rules Overview Pre-Requisites
Oracle BPEL Process Manager provides a framework for easily designing, deploying, monitoring, and administering processes based on BPEL standards. Oracle BPEL Process Manager provides support for the following features: Web service standards such as XML, SOAP, and WSDL Dehydration (enables the states of long-running processes to be automatically maintained in a database) and correlation of asynchronous messages. Service-oriented architecture (SOA) Parallel processing of tasks
..Cont
Process Activities
Assign Shows how to receive an input string, prefix Hello to it using an assign activity, and asynchronously return the result. Catch Shows how an exception can be raised using the throw activity and managed using a catch activity. Event Shows how to enable an synchronous BPEL process and use event handlers to receive and process events while waiting for the asynchronous callback. Flow Shows how to create parallel paths of execution within a BPEL process. Invoke Shows how to invoke a synchronous integer increment service.
Components Overview
Each component enables you to perform a specific set of tasks: The design environment (JDeveloper BPEL Designer or Eclipse BPEL Designer) enables you to design and deploy BPEL processes. You design BPEL processes by dragging and dropping elements (known as activities) into the process and editing their property pages. You integrate BPEL processes with external services that you also design and edit (known as partner links). You also use wizards to integrate technology adapters and services such as workflows, worklist, transformations, notifications, and sensors with the process. When design is complete, you deploy the process from the design environment to Oracle BPEL Server. If deployment is successful, you can run and manage the BPEL process from Oracle BPEL Console.
Some Examples
Example 1: a Telecom company can use BPEL for implementing all the steps that need to occur for setting up a DSL account for a customer. Example 2: read the content of a comma delimited file, translate it into XML, validate it, transform it to the format of a database, write it into a database...this is also a process flow Example 3: Hello world and Order Booking Process will be shown as a live demo.
Oracle Business Rules helps make applications more flexible and agile by enabling business analysts and non-developers to easily define and modify application logic based on business rules, with no programming required. This dramatically reduces the cost of modifying application logic based on business rules and the subsequent redeployment costs.
Oracle Business Rules Components The Oracle Business Rules components consist of a Rules engine; a Rule Author Tool, and a Rules SDK. The Oracle Rules Engine is written in Java. It is fast and efficient and well integrated with both Java and XML. The Authoring tool presents an English-like paradigm for declaring Rules. It can be used by both programmers and business analysts. Programmers Rule-enable applications by defining Facts, used for Rules analysis, and the Actions/Results invoked as a result of such analysis. Business analysts can then define rules in terms of Facts and Actions.
The Authoring tool generates the Oracle Rules language in a repository for use by the Rules engine. This language provides outstanding integration with Java programs, Web services, and XML documents. The Oracle Rules language can be coded directly by programmers but is normally generated by high-level tools. A third component is a Rules SDK. The SDK allows Rules repository access and update by Rules generating programs. The SDK is attractive for applications that define policies via their own special graphic interfaces.
Pre-requisites
Whats required to get started ? 1. Oracle Lite Database 2. Oracle BPEL Process Manager (Jdeveloper) 3. IE 6.0 4. Min 1GB RAM What pre-requisite knowledge is needed to learn BPEL? Good understanding of XML and XSLT is a big plus: although the visual tool tries to hide all of this, we find that this knowledge is still required when things go wrong. Is it same as workflow? Yes. It is workflow++: better support for XML, Transformation, Adapters, Monitoring, Auditing.
To Summarize Invoking a Synchronous Web Service Calling an Asynchronous Web Service Parallel Flow Conditional Branching Fault Handling and Exceptions Events and Timeouts File Adapters Read and Write Adapters for DML operations on database.
Useful Sites