SlideShare a Scribd company logo
AMIS Conference Beyond the Horizon
Maarten Smeets
How to build a Cloud Adapter
Introduction
• About AMIS
– Located in the Netherlands
• About me
– Oracle Integration Consultant
– Experience with Oracle SOA Suite since 2007
– Well certified (SOA, BPM, Java, SQL,
PL/SQL among others)
– Author of more than 100 blog articles
(http://javaoraclesoa.blogspot.com)
@MaartenSmeetsNL
https://nl.linkedin.com/in/smeetsm
3
Agenda
• Introduction
– What is a Cloud Adapter
– Why build a Cloud Adapter
– Why not build a Cloud Adapter
• Develop a Cloud Adapter. Getting started
– Setting up your development environment
– Setting up your JDeveloper / SOA / ServiceBus environment
– Setting up your ICS environment
• The Cloud Adapter SDK
– Designtime components
– Runtime components
– Tips and tricks
• End to end demonstration
Introduction
4
5
What is a Cloud Adapter?
On the outside
6
What is a Cloud Adapter?
On the inside
7
What is a Cloud Adapter?
Designtime
• A Cloud Adapter provides designtime JDeveloper and ICS wizards to make it easy for a (citizen) developer to
connect to complex services such as Salesforce, Oracle Sales Cloud, Google Calendar, Many others
Integration Cloud Service JDeveloper
8
What is a Cloud Adapter?
Difference between Technology and Cloud Adapter
Technology Adapter Cloud Adapter
Packaging RAR file JAR file
Description files ra.xml extention.xml + cloud-adapter.xml
Configuration Application + AS Application
Target audience Developers Citizen developers + Developers
Integration Cloud Service
Service Bus
Composites
9
Why build a Cloud Adapter
A single solution for SOA, SB, ICS
• Build once deploy many!
The same Cloud Adapter on
– SOA Suite
– Service Bus
– Integration Cloud Service
10
Why build a Cloud Adapter
Sales and Marketing
• Sell it in the Marketplace
and promote your company
12
Why build a Cloud Adapter
Move workload to the citizen developer
Move workload from your developers to your business users. Configure, not code. Increase business agility!
13
Why not build a Cloud Adapter?
• Development is not easy. Do your developers have the required skills?
Most likely you will not be done within 2 months. There is very little information and/or documentation.
– Getting to know the SDK
What is provided and how can you use it? What do you need to build yourself
– Jdeveloper extension development
How to efficiently develop and debug
– Designtime/runtime requirements
How to make the adapter available for usage
• You are not planning to sell the adapter in the Marketplace
– ROI takes longer
• You do not require citizen developers to configure integrations in ICS
– Developers will have less benefit of a Cloud Adapter. A custom integration might be more cost effective
• You can wait until someone else has developed it. Check with Oracle which adapters are on the roadmap!
14
Getting started
15
16
Getting started
Cloud Adapter Development Lifecycle
17
How to get started?
• Obtain the Cloud Adapter SDK
– https://beehiveonline.oracle.com/teamcollab/library/Oracle/Cloud_Adapter_DevKit/
• Set-up your test environment / runtime
– Set-up your Service Bus / SOA environment
http://niallcblogs.blogspot.nl/2015/06/408-first-steps-with-cloud-adapter-sdk.html
http://ninckblokje.github.io/2016/03/15/cloud-adapter-sdk-part1.html
• Set-up a JDeveloper project (use 12.1.3 for ICS)
– Described in the Cloud Adapter SDK documentation
• Set-up your ICS test environment. Use the ICS Execution Agent
Undocumented but similar
Allows developing and testing
in JDeveloper (designtime) and
Integrated WebLogic Server (runtime)
Allows testing designtime and
runtime in Integration Cloud Service
18
Set-up a runtime environment
Patching a SOA Suite / Service Bus installation
• Required files:
– fmw_12.1.3.0.0_soaqs_Disk1_1of1.zip
– ofm_adapters_application_generic_12.1.3.0.0_disk1_1of2.zip
– ofm_adapters_application_generic_12.1.3.0.0_disk1_2of2.zip
– fmw_12.1.3.0.1_cloud_adapters_Disk1_1of1.zip (patches)
• For Windows: fmw_12.1.3.0.1_cloud_adapters_Disk1_1of1.zip
– Use a 32 bit 1.7 JDK and of course replace the relevant parts below
set JAVA_HOME="C:Program Files (x86)Javajdk1.7.0_79“
set PATH="C:Program Files (x86)Javajdk1.7.0_79bin";%PATH%
set ORACLE_HOME=C:OracleMiddleware1213Oracle_Home
(in the patch directories, e.g. p19707784_121300_Generic19707784)
%ORACLE_HOME%OPatchopatch apply
• For Windows: you can start the ofm_adapters_application_generic_12.1.3.0.0 installer with:
– iwora12c_application-adapters_win.exe LAX_VM "C:Program Files (x86)Javajdk1.7.0_79binjava.exe" -i GUI
• For Windows: Mind the file permissions!
19
Set-up a JDeveloper project
Include the libraries
• Import the Cloud Adapter SDK JAR files
20
Set-up a JDeveloper project
Extension development + JDK 1.7
• Make sure the feature Extension Development is enabled. Makes debugging easy!
• Set the JDK to 1.7. ICS is still WebLogic 12.1.3!
21
Set-up a JDeveloper project
MANIFEST.MF
• Update your MANIFEST.MF with the required Cloud Adapter OSGi modules
• Create a JAR deployment profile
Make sure the MANIFEST.MF is included
22
Set-up JDeveloper
How to use your custom adapter?
• Setup designtime
– Copy the Cloud Adapter to
[JDEV_HOME]/jdeveloper/dropins folder
• Setup runtime
– Copy the Cloud Adapter to
[JDEV_HOME]/soa/soa/modules/oracle.cloud.adapter_12.1.3
– Edit setDomainEnv of your embedded WebLogic server
update the POST_CLASSPATH to include the Cloud Adapter JAR file

23
Use the Cloud Adapter in JDeveloper
Composite service or reference Service Bus proxy or business service
24
Use the Cloud Adapter in JDeveloper
25
Set-up a runtime environment
ICS Execution Agent
• Make sure you have an ICS account (trial is sufficient). Required for Execution Agent installation
• Download and install the ICS Execution Agent (Oracle Enterprise Linux 6 UC4 or above)
https://docs.oracle.com/cloud/latest/intcs_gs/ICSUG/GUID-AFE5B4E2-2DEF-4BC2-8F9C-6B214BF7B56D.htm
26
Set-up a runtime environment
ICS Execution Agent
• Add the custom cloud adapter JAR file to
[ICSExecutionAgentHome]/ICSOP/app/Oracle/Middleware/Oracle_Home/soa/soa/modules/oracle.cloud.adapter_12.1.3
• Add a POST_CLASSPATH entry for the custom cloud adapter
Update [ICSExecutionAgentHome]/ICSOP/data/user_projects/domains/compact_domain/bin/setDomainEnv.sh
• To avoid NumberFormatExceptions update the proxy settings in
[ICSExecutionAgentHome]/ICSOP/data/user_projects/domains/compact_domain/bin/setICSDomainEnv.sh
27
Set-up a runtime environment
ICS Execution Agent
28
Set-up a runtime environment
ICS Execution Agent
29
Set-up a runtime environment
ICS Execution Agent
The Cloud Adapter SDK
30
31
The Cloud Adapter SDK
What does it help you do?
Designtime (DT) components
• Single implementation for wizards
• Provides defaults for all pages
• Process remote artifacts (WSDL’s)
• Produce runtime artifacts
Runtime (RT) components
• Consume runtime artifacts
• Invokes by JCA framework
• Security, batching,
connection management, etc
32
Usual Cloud Adapter package structure
runtime
designtime
metadata
33
extension.xml
SOA/BPM adapter configuration
ICS/Service Bus adapter configuration
Resource bundle for placeholders
Endpoint implementation class
Endpoint implementation class
Binding
properties
Description
34
cloud-adapter.xml
UI provider class
Security policies
Interaction patterns
Adapter factory class
Adapter properties
Will end up in .jca file
35
The Cloud Adapter SDK
Designtime model
Creates JCA and
integration WSDL
Called in the UIBinding class
method generateMetadataArtifacts
Parsers for REST and WSDL
are available
Created on the welcome page
Used on operations page
36
Designtime
CloudAdapterUIBinding
• Interaction between wizard and adapter pages
• Determines pages displayed and creates page
instances
– Small differences between ICS and Jdeveloper. E.g.
connection page in ICS cannot be skipped Connection
Operation
Request / response
Name / description
Welcome page
CloudAdapterWelcomePage
Connection page
CloudAdapterConnectionPage
Operations page
CloudAdapterOperationsPage
Request / response page
ICloudAdapterPage
Summary
Summary page
CloudAdapterSummaryPage
37
Designtime
UnifiedUI
UnifiedUI provides one way
to code your UI for Jdeveloper
wizards, ICS, Service Bus
It provides classes like:
• EditField
• ButtonObject
• SelectItem
• ShuttleObject
These classes are well
documented in JavaDoc
38
The Cloud Adapter SDK
Runtime modelArtifactsRuntimeclassesTarget
application
Cloud Application
Configuration file
Integration WSDL
Endpoint
WSDL / REST
RuntimeConnectionFactory
(CloudApplicationConnectionFactory)
CloudConnection
(CloudConnector)
MessageReceiver
(CloudMessageReceiver)
Connection
(AbstractCloudApplicationConnection)
MessageHandler
(CloudMessageHandler)
Target Application
Endpoint activation
Mapping to target format
Inbound
Outbound
RuntimeFactory
Invokes
40
The Cloud Adapter SDK
Advanced features: Batch and Bulk
41
The Cloud Adapter SDK
Advanced features: Metadata downloading and caching
Downloading of remote dynamic artifacts can be slow
due to the remote applications logic e.g. Oracle RightNow
In ICS the adapter instance is shared. Downloading and
processing of remote metadata can be improved by caching
42
Tips and tricks
Common Issues
• I cannot see my adapter in JDeveloper
– Have you correctly installed (all parts of) the Cloud Adapter SDK?
– Is the extension.xml file in the correct location in the JAR file?
– Does the extension.xml indicate the correct category for the Adapter
– Are the file permissions for the JAR file set correctly?
• At runtime my adapter gives a class not found exception
In the ICS wizard I cannot see my adapter
– Make sure the Adapter is in the POST_CLASSPATH in setDomainEnv
• I cannot obtain an instance of my MetadataBrowser
– Did you override the method which used to create the MetadataBrowser?
– Are all the required Context variables set? (undocumented, look at the Cloud SDK code)
43
Tips and tricks
Determine in which JAR a class is
• Open the declaration of an SDK class. When asked, generate a stub in JDeveloper JAR location
This is just a generated stub
Questions
@MaartenSmeetsNL
https://nl.linkedin.com/in/smeetsm
Download sample code at
https://github.com/MaartenSmeets/cloudadapter
45

More Related Content

PPTX
How to build a cloud adapter
PDF
Oracle Enterprise Manager 13C and Hybrid Cloud
PDF
Using Puppet with Self Service Provisioning
PDF
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
PDF
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
PDF
VMworld 2013: Part 1: Getting Started with vCenter Orchestrator
PPTX
VMware and Puppet: How to Plan, Deploy & Manage Modern Applications
PDF
As a Service: Cloud Foundry on OpenStack - Lessons Learnt
How to build a cloud adapter
Oracle Enterprise Manager 13C and Hybrid Cloud
Using Puppet with Self Service Provisioning
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
VMworld 2013: Part 1: Getting Started with vCenter Orchestrator
VMware and Puppet: How to Plan, Deploy & Manage Modern Applications
As a Service: Cloud Foundry on OpenStack - Lessons Learnt

What's hot (20)

PPTX
WebSphere Application Server Liberty Profile and Docker
PDF
AAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
PPTX
Azure IaaS Feb 23 2016 Let's Dev This Cloud
PPTX
V mware v realize automation 6.2 knowledge transfer kit
PPTX
Cloud foundry integration-with-openstack-and-docker-bangalorecf-meetup
PDF
Cloudfoundry Introduction
PDF
XenApp XenDesktop 7.8 Workshop
PPT
HotLink DR Express
PDF
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
PPTX
VMware vSphere technical presentation
PPTX
Migrating Java EE applications to IBM Bluemix Platform-as-a-Service
PPTX
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
PDF
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
PDF
WebSphere Application Server - Meeting Your Cloud and On-Premise Demands
PPTX
A First Look at vSphere Integrated Containers and Photon Platform
PDF
VMware Automation, PowerCLI presented at the Northern California PSUG
PDF
VMware
PPTX
WebSphere Application Server Liberty Profile and Docker
PDF
VMware@Night: Container & Virtualisierung
PDF
AAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing Workloa
WebSphere Application Server Liberty Profile and Docker
AAI-1304 Technical Deep-Dive into IBM WebSphere Liberty
Azure IaaS Feb 23 2016 Let's Dev This Cloud
V mware v realize automation 6.2 knowledge transfer kit
Cloud foundry integration-with-openstack-and-docker-bangalorecf-meetup
Cloudfoundry Introduction
XenApp XenDesktop 7.8 Workshop
HotLink DR Express
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMware vSphere technical presentation
Migrating Java EE applications to IBM Bluemix Platform-as-a-Service
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
WebSphere Application Server - Meeting Your Cloud and On-Premise Demands
A First Look at vSphere Integrated Containers and Photon Platform
VMware Automation, PowerCLI presented at the Northern California PSUG
VMware
WebSphere Application Server Liberty Profile and Docker
VMware@Night: Container & Virtualisierung
AAI-2075 Evolving an IBM WebSphere Topology to Manage a Changing Workloa
Ad

Similar to How to build a Oracle cloud adapter SOA, Integration & API's (20)

PPTX
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)
PPTX
What is the Oracle PaaS Cloud for Developers (Oracle Cloud Day, The Netherlan...
PDF
SOA_BPM_12c_launch_event_SOA_track_deepdive_developerproductivityandperforman...
PDF
Patterns: Implementing an SOA Using an Enterprise Service Bus
PDF
Patterns: Implementing an SOA using an enterprise service bus (ESB)
PDF
Soa suite12c presentation @AMIS by Simone Geib
PDF
Extending Enterprise Applications to mobile interfaces-Final
PPTX
MMostafa Develop Mobile Application For Oracle EBS
PPT
Oracle mcs overview 1029
PPT
UXComm: Universal XML Communicator, an Agent Architecture
PDF
PaaS enabling Java EE applications through service meta-data and policies - J...
PDF
Modern Application Development for the Enterprise
PDF
Oracle mobile cloud service
PDF
Application Discovery! The Gift That Keeps on Giving
PDF
Application Discovery! The Gift That Keeps on Giving
PPTX
Oracle OpenWorld 2014 Review Part Four - PaaS Middleware
PDF
B3 getting started_with_cloud_native_development
PPTX
Cloud in Action
PDF
Book - IBM WTX 8.2
PDF
Javantura v4 - Support SpringBoot application development lifecycle using Ora...
Integrate Applications into IBM Connections Cloud and On Premises (AD 1632)
What is the Oracle PaaS Cloud for Developers (Oracle Cloud Day, The Netherlan...
SOA_BPM_12c_launch_event_SOA_track_deepdive_developerproductivityandperforman...
Patterns: Implementing an SOA Using an Enterprise Service Bus
Patterns: Implementing an SOA using an enterprise service bus (ESB)
Soa suite12c presentation @AMIS by Simone Geib
Extending Enterprise Applications to mobile interfaces-Final
MMostafa Develop Mobile Application For Oracle EBS
Oracle mcs overview 1029
UXComm: Universal XML Communicator, an Agent Architecture
PaaS enabling Java EE applications through service meta-data and policies - J...
Modern Application Development for the Enterprise
Oracle mobile cloud service
Application Discovery! The Gift That Keeps on Giving
Application Discovery! The Gift That Keeps on Giving
Oracle OpenWorld 2014 Review Part Four - PaaS Middleware
B3 getting started_with_cloud_native_development
Cloud in Action
Book - IBM WTX 8.2
Javantura v4 - Support SpringBoot application development lifecycle using Ora...
Ad

More from Getting value from IoT, Integration and Data Analytics (20)

PPTX
AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...
PPTX
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: Custom Application ...
PPTX
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
PPTX
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Data
PPTX
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Cloud Infrastructure
PPTX
10 tips voor verbetering in je Linkedin profiel
PPTX
Iot in de zorg the next step - fit for purpose
PPTX
Iot overview .. Best practices and lessons learned by Conclusion Conenct
PPTX
IoT Fit for purpose - how to be successful in IOT Conclusion Connect
PPTX
Industry and IOT Overview of protocols and best practices Conclusion Connect
PPTX
IoT practical case using the people counter sensing traffic density build usi...
PPTX
Introduction overviewmachinelearning sig Door Lucas Jellema
PPTX
Oracle OpenWorld 2017 Review (31st October 2017 - 250 slides)
PPTX
Ethereum smart contracts - door Peter Reitsma
PPTX
Blockchain - Techniek en usecases door Robert van Molken - AMIS - Conclusion
PPTX
kennissessie blockchain - Wat is Blockchain en smart contracts @Conclusion
PPTX
Internet of Things propositie - Enterprise IOT - AMIS - Conclusion
PDF
Omc AMIS evenement 26012017 Dennis van Soest
AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: Custom Application ...
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Data
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Cloud Infrastructure
10 tips voor verbetering in je Linkedin profiel
Iot in de zorg the next step - fit for purpose
Iot overview .. Best practices and lessons learned by Conclusion Conenct
IoT Fit for purpose - how to be successful in IOT Conclusion Connect
Industry and IOT Overview of protocols and best practices Conclusion Connect
IoT practical case using the people counter sensing traffic density build usi...
Introduction overviewmachinelearning sig Door Lucas Jellema
Oracle OpenWorld 2017 Review (31st October 2017 - 250 slides)
Ethereum smart contracts - door Peter Reitsma
Blockchain - Techniek en usecases door Robert van Molken - AMIS - Conclusion
kennissessie blockchain - Wat is Blockchain en smart contracts @Conclusion
Internet of Things propositie - Enterprise IOT - AMIS - Conclusion
Omc AMIS evenement 26012017 Dennis van Soest

Recently uploaded (20)

PPTX
Spectroscopy.pptx food analysis technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
cuic standard and advanced reporting.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Approach and Philosophy of On baking technology
PPTX
A Presentation on Artificial Intelligence
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Encapsulation_ Review paper, used for researhc scholars
Spectroscopy.pptx food analysis technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
gpt5_lecture_notes_comprehensive_20250812015547.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
“AI and Expert System Decision Support & Business Intelligence Systems”
MYSQL Presentation for SQL database connectivity
Digital-Transformation-Roadmap-for-Companies.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Per capita expenditure prediction using model stacking based on satellite ima...
cuic standard and advanced reporting.pdf
Encapsulation theory and applications.pdf
Electronic commerce courselecture one. Pdf
A comparative analysis of optical character recognition models for extracting...
Approach and Philosophy of On baking technology
A Presentation on Artificial Intelligence
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Machine learning based COVID-19 study performance prediction
Assigned Numbers - 2025 - Bluetooth® Document
Encapsulation_ Review paper, used for researhc scholars

How to build a Oracle cloud adapter SOA, Integration & API's

  • 1. AMIS Conference Beyond the Horizon Maarten Smeets How to build a Cloud Adapter
  • 2. Introduction • About AMIS – Located in the Netherlands • About me – Oracle Integration Consultant – Experience with Oracle SOA Suite since 2007 – Well certified (SOA, BPM, Java, SQL, PL/SQL among others) – Author of more than 100 blog articles (http://javaoraclesoa.blogspot.com) @MaartenSmeetsNL https://nl.linkedin.com/in/smeetsm
  • 3. 3 Agenda • Introduction – What is a Cloud Adapter – Why build a Cloud Adapter – Why not build a Cloud Adapter • Develop a Cloud Adapter. Getting started – Setting up your development environment – Setting up your JDeveloper / SOA / ServiceBus environment – Setting up your ICS environment • The Cloud Adapter SDK – Designtime components – Runtime components – Tips and tricks • End to end demonstration
  • 5. 5 What is a Cloud Adapter? On the outside
  • 6. 6 What is a Cloud Adapter? On the inside
  • 7. 7 What is a Cloud Adapter? Designtime • A Cloud Adapter provides designtime JDeveloper and ICS wizards to make it easy for a (citizen) developer to connect to complex services such as Salesforce, Oracle Sales Cloud, Google Calendar, Many others Integration Cloud Service JDeveloper
  • 8. 8 What is a Cloud Adapter? Difference between Technology and Cloud Adapter Technology Adapter Cloud Adapter Packaging RAR file JAR file Description files ra.xml extention.xml + cloud-adapter.xml Configuration Application + AS Application Target audience Developers Citizen developers + Developers Integration Cloud Service Service Bus Composites
  • 9. 9 Why build a Cloud Adapter A single solution for SOA, SB, ICS • Build once deploy many! The same Cloud Adapter on – SOA Suite – Service Bus – Integration Cloud Service
  • 10. 10 Why build a Cloud Adapter Sales and Marketing • Sell it in the Marketplace and promote your company
  • 11. 12 Why build a Cloud Adapter Move workload to the citizen developer Move workload from your developers to your business users. Configure, not code. Increase business agility!
  • 12. 13 Why not build a Cloud Adapter? • Development is not easy. Do your developers have the required skills? Most likely you will not be done within 2 months. There is very little information and/or documentation. – Getting to know the SDK What is provided and how can you use it? What do you need to build yourself – Jdeveloper extension development How to efficiently develop and debug – Designtime/runtime requirements How to make the adapter available for usage • You are not planning to sell the adapter in the Marketplace – ROI takes longer • You do not require citizen developers to configure integrations in ICS – Developers will have less benefit of a Cloud Adapter. A custom integration might be more cost effective • You can wait until someone else has developed it. Check with Oracle which adapters are on the roadmap!
  • 13. 14
  • 15. 16 Getting started Cloud Adapter Development Lifecycle
  • 16. 17 How to get started? • Obtain the Cloud Adapter SDK – https://beehiveonline.oracle.com/teamcollab/library/Oracle/Cloud_Adapter_DevKit/ • Set-up your test environment / runtime – Set-up your Service Bus / SOA environment http://niallcblogs.blogspot.nl/2015/06/408-first-steps-with-cloud-adapter-sdk.html http://ninckblokje.github.io/2016/03/15/cloud-adapter-sdk-part1.html • Set-up a JDeveloper project (use 12.1.3 for ICS) – Described in the Cloud Adapter SDK documentation • Set-up your ICS test environment. Use the ICS Execution Agent Undocumented but similar Allows developing and testing in JDeveloper (designtime) and Integrated WebLogic Server (runtime) Allows testing designtime and runtime in Integration Cloud Service
  • 17. 18 Set-up a runtime environment Patching a SOA Suite / Service Bus installation • Required files: – fmw_12.1.3.0.0_soaqs_Disk1_1of1.zip – ofm_adapters_application_generic_12.1.3.0.0_disk1_1of2.zip – ofm_adapters_application_generic_12.1.3.0.0_disk1_2of2.zip – fmw_12.1.3.0.1_cloud_adapters_Disk1_1of1.zip (patches) • For Windows: fmw_12.1.3.0.1_cloud_adapters_Disk1_1of1.zip – Use a 32 bit 1.7 JDK and of course replace the relevant parts below set JAVA_HOME="C:Program Files (x86)Javajdk1.7.0_79“ set PATH="C:Program Files (x86)Javajdk1.7.0_79bin";%PATH% set ORACLE_HOME=C:OracleMiddleware1213Oracle_Home (in the patch directories, e.g. p19707784_121300_Generic19707784) %ORACLE_HOME%OPatchopatch apply • For Windows: you can start the ofm_adapters_application_generic_12.1.3.0.0 installer with: – iwora12c_application-adapters_win.exe LAX_VM "C:Program Files (x86)Javajdk1.7.0_79binjava.exe" -i GUI • For Windows: Mind the file permissions!
  • 18. 19 Set-up a JDeveloper project Include the libraries • Import the Cloud Adapter SDK JAR files
  • 19. 20 Set-up a JDeveloper project Extension development + JDK 1.7 • Make sure the feature Extension Development is enabled. Makes debugging easy! • Set the JDK to 1.7. ICS is still WebLogic 12.1.3!
  • 20. 21 Set-up a JDeveloper project MANIFEST.MF • Update your MANIFEST.MF with the required Cloud Adapter OSGi modules • Create a JAR deployment profile Make sure the MANIFEST.MF is included
  • 21. 22 Set-up JDeveloper How to use your custom adapter? • Setup designtime – Copy the Cloud Adapter to [JDEV_HOME]/jdeveloper/dropins folder • Setup runtime – Copy the Cloud Adapter to [JDEV_HOME]/soa/soa/modules/oracle.cloud.adapter_12.1.3 – Edit setDomainEnv of your embedded WebLogic server update the POST_CLASSPATH to include the Cloud Adapter JAR file 
  • 22. 23 Use the Cloud Adapter in JDeveloper Composite service or reference Service Bus proxy or business service
  • 23. 24 Use the Cloud Adapter in JDeveloper
  • 24. 25 Set-up a runtime environment ICS Execution Agent • Make sure you have an ICS account (trial is sufficient). Required for Execution Agent installation • Download and install the ICS Execution Agent (Oracle Enterprise Linux 6 UC4 or above) https://docs.oracle.com/cloud/latest/intcs_gs/ICSUG/GUID-AFE5B4E2-2DEF-4BC2-8F9C-6B214BF7B56D.htm
  • 25. 26 Set-up a runtime environment ICS Execution Agent • Add the custom cloud adapter JAR file to [ICSExecutionAgentHome]/ICSOP/app/Oracle/Middleware/Oracle_Home/soa/soa/modules/oracle.cloud.adapter_12.1.3 • Add a POST_CLASSPATH entry for the custom cloud adapter Update [ICSExecutionAgentHome]/ICSOP/data/user_projects/domains/compact_domain/bin/setDomainEnv.sh
  • 26. • To avoid NumberFormatExceptions update the proxy settings in [ICSExecutionAgentHome]/ICSOP/data/user_projects/domains/compact_domain/bin/setICSDomainEnv.sh 27 Set-up a runtime environment ICS Execution Agent
  • 27. 28 Set-up a runtime environment ICS Execution Agent
  • 28. 29 Set-up a runtime environment ICS Execution Agent
  • 30. 31 The Cloud Adapter SDK What does it help you do? Designtime (DT) components • Single implementation for wizards • Provides defaults for all pages • Process remote artifacts (WSDL’s) • Produce runtime artifacts Runtime (RT) components • Consume runtime artifacts • Invokes by JCA framework • Security, batching, connection management, etc
  • 31. 32 Usual Cloud Adapter package structure runtime designtime metadata
  • 32. 33 extension.xml SOA/BPM adapter configuration ICS/Service Bus adapter configuration Resource bundle for placeholders Endpoint implementation class Endpoint implementation class Binding properties Description
  • 33. 34 cloud-adapter.xml UI provider class Security policies Interaction patterns Adapter factory class Adapter properties Will end up in .jca file
  • 34. 35 The Cloud Adapter SDK Designtime model Creates JCA and integration WSDL Called in the UIBinding class method generateMetadataArtifacts Parsers for REST and WSDL are available Created on the welcome page Used on operations page
  • 35. 36 Designtime CloudAdapterUIBinding • Interaction between wizard and adapter pages • Determines pages displayed and creates page instances – Small differences between ICS and Jdeveloper. E.g. connection page in ICS cannot be skipped Connection Operation Request / response Name / description Welcome page CloudAdapterWelcomePage Connection page CloudAdapterConnectionPage Operations page CloudAdapterOperationsPage Request / response page ICloudAdapterPage Summary Summary page CloudAdapterSummaryPage
  • 36. 37 Designtime UnifiedUI UnifiedUI provides one way to code your UI for Jdeveloper wizards, ICS, Service Bus It provides classes like: • EditField • ButtonObject • SelectItem • ShuttleObject These classes are well documented in JavaDoc
  • 37. 38 The Cloud Adapter SDK Runtime modelArtifactsRuntimeclassesTarget application Cloud Application Configuration file Integration WSDL Endpoint WSDL / REST RuntimeConnectionFactory (CloudApplicationConnectionFactory) CloudConnection (CloudConnector) MessageReceiver (CloudMessageReceiver) Connection (AbstractCloudApplicationConnection) MessageHandler (CloudMessageHandler) Target Application Endpoint activation Mapping to target format Inbound Outbound RuntimeFactory Invokes
  • 38. 40 The Cloud Adapter SDK Advanced features: Batch and Bulk
  • 39. 41 The Cloud Adapter SDK Advanced features: Metadata downloading and caching Downloading of remote dynamic artifacts can be slow due to the remote applications logic e.g. Oracle RightNow In ICS the adapter instance is shared. Downloading and processing of remote metadata can be improved by caching
  • 40. 42 Tips and tricks Common Issues • I cannot see my adapter in JDeveloper – Have you correctly installed (all parts of) the Cloud Adapter SDK? – Is the extension.xml file in the correct location in the JAR file? – Does the extension.xml indicate the correct category for the Adapter – Are the file permissions for the JAR file set correctly? • At runtime my adapter gives a class not found exception In the ICS wizard I cannot see my adapter – Make sure the Adapter is in the POST_CLASSPATH in setDomainEnv • I cannot obtain an instance of my MetadataBrowser – Did you override the method which used to create the MetadataBrowser? – Are all the required Context variables set? (undocumented, look at the Cloud SDK code)
  • 41. 43 Tips and tricks Determine in which JAR a class is • Open the declaration of an SDK class. When asked, generate a stub in JDeveloper JAR location This is just a generated stub
  • 42. Questions @MaartenSmeetsNL https://nl.linkedin.com/in/smeetsm Download sample code at https://github.com/MaartenSmeets/cloudadapter
  • 43. 45

Editor's Notes

  • #3: Recent awards: Oracle EMEA Middleware Partner of the Year, 3 times Oracle Netherlands Middleware partner of the year. One of the rare moments in the Netherlands when it isn’t raining.