APEX & SOA Best of two worlds
Who am I? Michel van Zoest Consultant at Whitehorses BV Application Express Certified Expert SOA Suite Certified Specialist Author of Oracle APEX Cookbook (Packt Publishing) March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA2
Why this presentation? APEX is an excellent tool for exposing data SOA Suite is an excellent tool for exposing data Why not combine them instead of replacing one? March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA3
What is SOA? Service Oriented Architecture SOA Suite Webservices March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA4
SOA Application Architecture March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA5 OSBSOA Webservice BPEL Proxy Business Service Database Adapter Outside World File …..
The Case Holland BV -Dutch company -APEX application for HR and Sales March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA6 Amerika Inc. -American company -Multiple frontends using webservices Merging to become Holland Amerika Line -Reusability of both architectures -Minimal effort
Holland Amerika Line March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA7 APEX Frontend for HR and Sales application Service Oriented Architecture for HR and Sales application DB Webservices Holland BVAmerika Inc.
How to integrate both applications? Step 1: Consume HR Webservice into APEX application Step 2: Expose data from Sales to SOA application March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA8
SOA service to APEX report March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA9 APEX Frontend for HR and Sales application Service Oriented Architecture for HR and Sales application DB Webservices Holland BVAmerika Inc.
Integrate webservice in APEX report OSB / SOA Webservice Webservice reference XMLTable Select March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA10
Demo 1 March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA11
REST service to SOA March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA12 APEX Frontend for HR and Sales application Service Oriented Architecture for HR and Sales application DB Webservices Holland BVAmerika Inc.
Integrate REST service in SOA SQL Workshop -> RESTful Services REST Adapter in SOA Suite March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA13
REST Representational State Transfer (REST) is a software architecture style consisting of guidelines and best practices for creating scalable web services. REST is a coordinated set of constraints applied to the design of components in a distributed hypermedia system that can lead to a more performant and maintainable architecture. REST has gained widespread acceptance across the Web as a simpler alternative to SOAP and WSDL-based Web services. RESTful systems typically, but not always, communicate over the Hypertext Transfer Protocol with the same HTTP verbs (GET, POST, PUT, DELETE, etc.) used by web browsers to retrieve web pages and send data to remote servers. March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA14
JSON JSON (/ ˈ d ʒ e ɪ s ə n/ JAY-s ə n), or JavaScript Object Notation, is an open standard format that uses human-readable text to transmit data objects consisting of attribute–value pairs. It is used primarily to transmit data between a server and web application, as an alternative to XML. March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA15
JSON Example { "Event":"OGh APEX World","Date":"March 25th 2015","Speakers":[{ "Speaker1":"Steven Feuerstein","Speaker2":"David Peake","Speaker3":"Roel Hartman" }],"Attendees":"350","Location":"Rotterdam"} March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA16
Demo 2 March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA17
Extra option: APEX_WEB_SERVICE Consume a REST service with APEX_WEB_SERVICE March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA18
Demo 3 March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA19
APEX 5.0: APEX_JSON New package available in APEX 5.0 Generate JSON Read JSON Convert to XMLTYPE March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA20
Demo 4 March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA21
Logging SOA Suite Customer Case Customer Case APEX Application with reports APEX Application with reports Logging of Events in SOA Logging of Events in SOA March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA22
The future Application Express 5.1 (Statement of Direction) Application Express 5.1 (Statement of Direction) – Webservices Support ORDS 3.0 (currently in Early Adopters phase) ORDS 3.0 (currently in Early Adopters phase) – JSON Document Store (Oracle 12c only) – Auto Generated REST Endpoints for Tables and Views March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA23
Any questions March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA24
Contact March 25th 2015OGh APEX World 2015 – Michel van Zoest – APEX and SOA25