Title: Oracle BPEL Implementation
1(No Transcript)
2Oracle BPEL Implementation
3Agenda
- Workflow Services
- Integration
- Security
4Service-Oriented Architecture
Integrate
Orchestrate Services
Develop
Secure
Change
Manage
Monitor
5Workflow Services
System
Human
BPEL
BPEL can interleave human interactions and
connectivity to systems/services into a single
end to end process flow
6Workflow Requirements
Task routing various flow patterns and
dispatching rules
Task assignment to Users, roles, groups
Notification to users/groups - Email, Voice,
Pager, SMS
Escalation and Delegation rules
Task History and Audit, Productivity Reports
Customizable Worklist, Task forms, attachments
7Workflow as a Service
WSDL Contract
Workflow Service
Assign Task
Update Task
Task Complete
Worklist
BPEL Process
- - assign tasks to a user/role
- - wait for task completion as part of an end to
end process flow
8Workflow Services Exchange Patterns
Get Approvals
Change routing
All Approvals Complete
BPEL Process
BPEL Process
Assign tasks to role or group (from directory)
Flow patterns, Routing rules
List work items
Escalate Task
Notify manager
Complete task
Get weekly productivity report
Task Resolved
BPEL Process
Worklist (tasks, forms, attachments, reports)
Escalation and Delegation rules
9End-to-End Scenario
Network Provisioning
Set Up Route
Set Up Account
Install Equipment
ITV Box
Activation Mgr.
Account Ready
DishInstallation
Install complete
- Composite applications interleaves services
(request/response) and human interactions
(assign task/complete task)
10Workflow Patterns
- Task Flow
- Task Details
- Assignment policy
- Notification preferences
- Task routing policy
11Workflow Services Task Flow
- Simple Task Assignment
- Sequential workflow
- Parallel workflow (review/voting)
- Adhoc workflow
- FYI task
- Many variations - automatic escalation, renewal
etc. - Tasks may be on renewed or escalated on
expiration - Can send reminders when tasks are about to expire
- Can mix-and-match above patterns to create
chained workflows
12Notification Service
- Users can be notified of task status changes
- Assignee, Creator, approver notification when
task assigned, completed, expired etc.. - User properties and preferences automatically
looked up using Identity service - Channels supported
- Email
- Voice
- Fax
- Actionable Email notifications
- Voice, Fax, SMS supported out-of-the box
13Identity Service
- Links up workflow service to user Directories
- Authentication and Authorization api
- Controls access to worklist and tasks
- Authorizes operations on tasks
- Provides access to users or roles
- User privileges, group memberships
- User properties contact info, organization
hierarchy - Types of users end user, process owner, admin
etc. - Out of the box plug-ins for
- OID
- LDAP
- JAZN/File
- Can write Custom plug-in for other user/role
repositories
14BPEL PM - Workflow Services
Workflow Services
BPEL Process
Identity Service (Users, Roles)
Task Management Service
Portal
Task Routing Service
Task Assignment History/Audit
Worklist Service
Worklist
Task Action Service
Notification Service
Email client
Notification Channels
Identity Management
Email
OID, LDAP, JAZN
AS Wireless (Voice, SMS, Pager)
Oracle DB
15Modeling workflow in the BPEL Designer
Eclipse, JDeveloper
BPEL Designer
Workflow Service
BPEL Process
Initiate ltreceivegt
- Task Flow
- Sequential, parallel, Adhoc, FYI ,,,
- Task Details
- Title
- Priority
- Creator
- Expiration Date
- Outcomes
assignTask ltinvokegt
onTaskComplete ltreceivegt
2b. Configures Task and routing slip for Workflow
Service
2a. Generates BPEL fragment
Form (Payload display)
checkStatus
Routing Slip (assignment policy)
notifyClient ltreplygt
End
Escalation rules
15
16Demo Scenario Loan Flow (StarLoan approval
workflow)
LOAN FLOW BPEL PROCESS
CLIENT
receive
getSSN
SCOPE
getRating
FLOW
Star Loan
United Loan
invoke
invoke
receive
receive
select
CLIENT
Notify Customer
end
17Industry Dynamics BPEL
- Process Integration Before
- Process Integration After
Choice 1 Build your Own
Choice 2 Traditional EAI
Choice 3 BPEL Business Processes
- Complex Code
- Errors
- Hardwired
- Monolithic
- Vendor Lock-in
- Expensive
- Simplistic
- Industry Standard
- Rich Process Semantics
- First Class Citizen of the J2EE platform
- Open and Extensible
Web Services or WSIF Binding Framework
Adapters
Portal
SAP
MQ Series
Database
Portal
SAP
MQ Series
Database
18Web Services Invocation Framework (WSIF)
- Describe any artifact with WSDL, invoke with
native protocols - Performance
- Transactions
- Used extensively by BPEL
19WSIF Bindings
- Supported bindings include
- JCA
- Java, EJB
- JMS
- HTTP GET/POST
- New bindings can be written as needed
- For more info see http//ws.apache.org/wsif/
20Incorporating Java/J2EE Code
- In-lining of Java in BPEL process
- High performance
- Currently extension to BPEL standard
- WSIF Java binding
- Allows Java objects to be called from BPEL as if
they were Web services - Has limitations on interfaces allowed for Java
classes - Wrap Java code as a true Web service (via SOAP)
- Use any toolkit (e.g. JDeveloper/OC4J, Apache
Axis, )
21J2EE Connector Architecture
- JCA is an architecture that provides a standard
way for integrating a J2EE application server and
Enterprise Information Systems (EISs) - JCA 1.0 is part of J2EE 1.3
- JCA 1.5 is part of J2EE 1.4
22What is the benefit of JCA?
- Simplify EIS integration by providing
- Comprehensive integration framework
- Ease of Integration (reduce integration
points/cost) - Industry Standard
- Flexibility
- Not limited to connectivity, can be used for
other services.
EIS
EIS
AppServer
AppServer
JCA
mn
mn
23Adapter Services
J2EE Applications
Siebel CRM
BAM
Mainframe
BPEL BPM
Database
PORTAL
Oracle APPS HRMS
Cobol File
24Adapter Integration with BPEL PM
- Adapter Framework
- Light-weight
- Based on WSIF and J2CA standards.
- WSIF Provider for Outbound
- JCA 1.5 specific system contracts for Inbound.
- Adapter is
- JCA 1.5 Resource Adapter
- Deployed in OC4J container.
25Adapter Services
- File Adapter
- DB Adapter
- AQ Adapter
- FTP Adapter
- JMS Adapter
- Oracle Applications
26D E M O N S T R A T I O N
Adapter Demo
27BPEL and Security
BPEL FLOW
start
1000am
Get Rating
Handle Negative Credit Exception
Send Loan Application
Send Loan Application
Receive Loan Offer
Receive Loan Offer
?
Select Lowest Offer
end
0300pm
28Whats Missing?
- Anyone who can access the server can initiate
loan applications
BPEL Flow
1000am
start
ltSSNgt 011-22-4488 lt/SSNgt
Get Rating
Handle Negative Credit Exception
Send Loan Application
Send Loan Application
Receive Loan Offer
Receive Loan Offer
?
Select Lowest Offer
end
0300pm
29BPEL Oracle WSM Policy Enforcement
Add Oracle WSM Gateways/Agents
BPEL Flow
1000am
start
Get Rating
Handle Negative
Credit Exception
Send Loan Application
Send Loan Application
Receive Loan Offer
Receive Loan Offer
Select Lowest Offer
?
end
0300pm
30Service Visibility and Compliance
- Oracle WSM Monitor provides real-time visibility
into Web Service interactions - Automates operational issue resolution by
dynamically updating policies - Proactively alerts about anomalies
- Enforces policies based on real-time monitoring
data - Lowers management costs
- Validates compliance with IT best practices
31Designed for Performance
BPEL-Optimized SOAP Stack
Write-through Cache
BPEL Server
App. Server
- Binary DOM
- Lazy Loading
- Smart Partitioning
- W3C DOM Interface
- Support for Large Documents
BPEL Server
App. Server
Dehydration Store (Oracle Database)
BPEL Server
Support for large BPEL Processes (20,000
activities)
App. Server
- Stateless Architecture
- Clustering
- Fail Over
32 Need for Scalability
KEY FEATURES
- Scale on demand
- No code change
- Easy-to-manage
- IntelLinux Friendly
33Join Over 4,500,000 Developers!
Free Technical Advice
Free Software Downloads
www.oracle.com/technology/products/jdev otn.oracle
.com/tech/webservices otn.oracle.com/tech/java otn
.oracle.com/bpel
34Learn Oracle From Oracle
- Instructor led training
- Self-Study
- Online learning
- Oracle Certification
- Oracle iLearning
- Oracle Tutor
oracle.com/education
35A