+ All Categories
Home > Documents > Deployment in Oracle SOA Suite and in Oracle BPM Suite

Deployment in Oracle SOA Suite and in Oracle BPM Suite

Date post: 05-Dec-2014
Category:
Upload: lonneke-dikmans
View: 3,596 times
Download: 1 times
Share this document with a friend
Description:
Deployment in a Service oriented environment is slightly more complicated because the endpoints and other settings need to be changed when promoting the components through QA, Staging and production systems. The Oracle SOA suite offers different mechanisms for different components: Configuration plans for SCA components and customization files for the OSB. You can either deploy an artifact manually, or script the deployment using ant or WLST. This paper will discuss the different settings you can adjust in configuration plans and customization files, a way of organizing these files in different situations and the use of scripting versus manual deployment.
21
1 |x 1 | 20 Deployment in Oracle SOA Suite and in Oracle BPM Suite Lonneke Dikmans November 2012 | Nuremberg
Transcript
Page 1: Deployment in Oracle SOA Suite and in Oracle BPM Suite

1  |  x  1  |  20  

Deployment in Oracle SOA Suite and in Oracle BPM Suite

Lonneke Dikmans

November 2012 | Nuremberg

Page 2: Deployment in Oracle SOA Suite and in Oracle BPM Suite

2  |  x  2  |  20  

Agenda

What is the problem ●  Different environment (D, T, A, P) ●  Component types ●  Configuration and resources

Solution ●  Scripting, Development tool, Consoles ●  Configuration ●  Shared resources

Demo ●  JDeveloper ●  Console ●  Script

Page 3: Deployment in Oracle SOA Suite and in Oracle BPM Suite

3  |  x  3  |  20  

What is the problem? | Environments - D

Page 4: Deployment in Oracle SOA Suite and in Oracle BPM Suite

4  |  x  4  |  20  

What is the problem? | Environments - T

Page 5: Deployment in Oracle SOA Suite and in Oracle BPM Suite

5  |  x  5  |  20  

What is the problem? | Environments – A & P

Page 6: Deployment in Oracle SOA Suite and in Oracle BPM Suite

6  |  x  6  |  20  

What is the problem? | Component types

Page 7: Deployment in Oracle SOA Suite and in Oracle BPM Suite

7  |  x  7  |  20  

What is the problem? | Configuration

Configuration and resources ●  Endpoints ●  Resources (JMS, JDBC, WSDL, XSLT) ●  Schema validation ●  Target (managed server) ●  Security (Policies, account names) ●  Timer and/or retry settings ●  ....

Page 8: Deployment in Oracle SOA Suite and in Oracle BPM Suite

8  |  x  8  |  20  

Agenda

What is the problem ●  Different environment (D, T, A, P) ●  Component types ●  Configuration and resources

Solution ●  Scripting, JDeveloper, consoles ●  Configuration plans, customization files

Demo ●  JDeveloper ●  Console ●  Script

Page 9: Deployment in Oracle SOA Suite and in Oracle BPM Suite

9  |  x  9  |  20  

Solution | Steps to deployment

Deployment steps 1.  Create a package (jar, ear) 2.  Add configuration for the target environment 3.  Deploy the package (jar, ear, sar)

Page 10: Deployment in Oracle SOA Suite and in Oracle BPM Suite

10  |  x  10  |  20  

Solution | Three ways to deploy

Development tool ●  Development environment ●  JDeveloper for Weblogic Server, SOA Suite, BPM Suite ●  Oracle Eclipse Pack for Weblogic Server, Oracle Service Bus ●  Process editor (Web based) for BPM suite ●  Oracle service bus console to develop OSB flows

Console ●  Development environment, Test environment ●  Weblogic console for JEE ●  Enterprise manager for SCA composites ●  Oracle service bus console for OSB components and resources

Page 11: Deployment in Oracle SOA Suite and in Oracle BPM Suite

11  |  x  11  |  20  

Solution | Three ways to deploy (2)

Scripting ●  WLST for WebLogic Server and SOA Suite, OSB ●  Maven for JEE ●  Ant for JEE, SOA Suite, BPM suite (and to call OSB scripts)

or……Combination of the three options ●  Script creating of package, manual deployment ●  Manually create the package, script deployment ●  Script packaging, deployment, configure manually ●  …..

Page 12: Deployment in Oracle SOA Suite and in Oracle BPM Suite

12  |  x  12  |  20  

Solution | Configuration

JEE ●  Deployment descriptors: •  Web.xml, Weblogic-web.xml, application.xml, …

SOA Suite ●  Configuration plan

OSB ●  Customization file

Page 13: Deployment in Oracle SOA Suite and in Oracle BPM Suite

13  |  x  13  |  20  

Solution | Configuration (2)

Configuration plan snippet <?xml version="1.0" encoding="UTF-8"?> <SOAConfigPlan xmlns:jca="http://platform.integration.oracle/blocks/adapter/fw/

metadata" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy" xmlns:edl="http://schemas.oracle.com/events/edl" xmlns="http://schemas.oracle.com/soa/configplan">

<composite name="BS_00_01_VerwerkenDocumentaanvragen_composite"> <import> <searchReplace>

<search>oramds:/apps/overijssel/as/ZaakService-1.3.wsdl</search> <replace>http://srvapp51:8011/ZaakService-1.3/ZaakService-1.3?wsdl</

replace>

</searchReplace> …..

Page 14: Deployment in Oracle SOA Suite and in Oracle BPM Suite

14  |  x  14  |  20  

Solution | Configuration (3)

OSB Customization file snippet <?xml version="1.0" encoding="UTF-8"?><cus:Customizations

xmlns:cus="http://www.bea.com/wli/config/customizations" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xt="http://www.bea.com/wli/config/xmltypes"> <cus:customization xsi:type="cus:EnvValueCustomizationType"> <cus:description/> <cus:envValueAssignments> <xt:envValueType>Service URI Weight</xt:envValueType> <xt:location>0</xt:location> <xt:owner> <xt:type>BusinessService</xt:type> <xt:path>CRM_StUFRelatieService/business/CRM_PostcodeService_BS</xt:path> </xt:owner> <xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">0</xt:value> </cus:envValueAssignments> <cus:envValueAssignments> <xt:envValueType>Service URI</xt:envValueType> <xt:location>0</xt:location> <xt:owner> <xt:type>BusinessService</xt:type> <xt:path>CRM_StUFRelatieService/business/CRM_PostcodeService_BS</xt:path> </xt:owner>

……

Page 15: Deployment in Oracle SOA Suite and in Oracle BPM Suite

15  |  x  15  |  20  

Solution | Shared resources

JEE ●  Libraries (Ear, war) ●  Connection pools, resource adapters

SOA Suite & BPM Suite ●  MDS ●  Resource adapters

OSB ●  Resources (XSD, WSDL, XSLT, Xquery) -> Projects ●  System accounts -> System account

Page 16: Deployment in Oracle SOA Suite and in Oracle BPM Suite

16  |  x  16  |  20  

Solution | Tips

Configuration ●  Combine Configuration plans for different Composites ●  Export Customization file from OSB ●  Use OSB to connect to external service to minimize

configuration of endpoints

Shared resources ●  Use MDS for SOA Suite and BPM Suite ●  Use designated projects in OSB for shared resources

Page 17: Deployment in Oracle SOA Suite and in Oracle BPM Suite

17  |  x  17  |  20  

Agenda

What is the problem ●  Different environment (D, T, A, P) ●  Component types ●  Resources

Solution ●  Scripting, JDeveloper, consoles ●  Configuration plans, customization files

Demo ●  JDeveloper ●  Console ●  Script

Page 18: Deployment in Oracle SOA Suite and in Oracle BPM Suite

18  |  x  18  |  20  

Demo

SOA Suite ●  Deploy a BPEL manually ●  Deploy a BPEL with ant ●  Deploy a BPEL with WLST

Page 19: Deployment in Oracle SOA Suite and in Oracle BPM Suite

19  |  x  19  |  20  

Deployment Summary

Server   Type   Scrip7ng   Console   Development  tool  

WLS  (JEE)   War,  Ear,  JCA    adapter  …    

Maven,  Ant,  WLST  

Weblogic  console  

JDeveloper  OEPE  

SOA  Suite   Sar   Ant,  WLST   Enterprise  manager  

JDeveloper  

BPM  Suite   Sar   Ant,  WLST   Enterprise  manager  

JDeveloper,  Web  process  tool  

OSB   Jar   WLST  (call  from  ant)  

OSB  console   OEPE  

Page 20: Deployment in Oracle SOA Suite and in Oracle BPM Suite

20  |  x  20  |  20  

Deployment Summary (2)

Deployment   Env   Component   Remark  

JDeveloper   D   JEE,  SCA  Composites   All  types  of  SCA  

OEPE   D   JEE,  OSB  arFfacts   All  OSB  arFfacts  

Process  Composer   D,T   BPMN  Process   Depends  on  workflow  

Rule  Composer   D,T   Business  rules  

WebLogic  Console   T   JEE   All  JEE  types  

Enterprise  Manager   T   SCA  Composite   All  types  of  SCA  

OSB  Console   T   OSB  arFfacts   Including  XSD,  WSLD  etc  

Maven  scripts   D,T,A,P   JEE   Packaging  in  A  and  P  

Ant  scripts   D,T,A,P   JEE,  SCA,  OSB   Packaging  in  A  and  P  

WLST  scripts   D,T,A,P   JEE,  SCA,  OSB   Incl  resources  

Page 21: Deployment in Oracle SOA Suite and in Oracle BPM Suite

21  |  x  21  |  20  

Deployment in Oracle SOA Suite and in Oracle BPM Suite

Lonneke Dikmans

November 2012 | Nuremberg


Recommended