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.
Approach to SOA:Making this a successful endeavor for the whole organization
Deployment in Oracle SOA Suite and in Oracle BPM Suite
1. Deployment in Oracle SOA Suite
and in Oracle BPM Suite
Lonneke Dikmans
November 2012 | Nuremberg
1
|
x
0
2
2. 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
2
|
x
0
2
3. What is the problem? | Environments - D
3
|
x
0
2
4. What is the problem? | Environments - T
4
|
x
0
2
5. What is the problem? | Environments – A & P
5
|
x
0
2
6. What is the problem? | Component types
6
|
x
0
2
7. 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
● ....
7
|
x
0
2
8. 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
8
|
x
0
2
9. 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)
9
|
x
0
2
10. 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
10
|
x
0
2
11. 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
● …..
11
|
x
0
2
12. Solution | Configuration
JEE
● Deployment descriptors:
• Web.xml, Weblogic-web.xml, application.xml, …
SOA Suite
● Configuration plan
OSB
● Customization file
12
|
x
0
2
15. 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
15
|
x
0
2
16. 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
16
|
x
0
2
17. 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
17
|
x
0
2
18. Demo
SOA Suite
● Deploy a BPEL manually
● Deploy a BPEL with ant
● Deploy a BPEL with WLST
18
|
x
0
2
19. Deployment Summary
Server
Type
Scrip7ng
Console
Development
tool
WLS
(JEE)
War,
Ear,
Maven,
Ant,
Weblogic
JDeveloper
JCA
adapter
WLST
console
OEPE
…
SOA
Suite
Sar
Ant,
WLST
Enterprise
JDeveloper
manager
BPM
Suite
Sar
Ant,
WLST
Enterprise
JDeveloper,
manager
Web
process
tool
OSB
Jar
WLST
(call
OSB
console
OEPE
from
ant)
19
|
x
0
2
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
20
|
x
0
2
21. Deployment in Oracle SOA Suite
and in Oracle BPM Suite
Lonneke Dikmans
November 2012 | Nuremberg
21
|
x
0
2