Smart Houses: integrating SOA with Brain Computer Interfaces
Integrating SOA and the Application Development Framework
Transcript of Integrating SOA and the Application Development Framework
![Page 1: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/1.jpg)
![Page 2: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/2.jpg)
<Insert Picture Here>
Integrating SOA and the Application Development FrameworkShaun O’BrienPrincipal Product Manager – Oracle JDeveloper / ADF
![Page 3: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/3.jpg)
Overview
• Oracle Fusion Architecture• Where do ADF and SOA live?
• How does ADF 11g improve on standard SOA integration models?• Expose ADF Business Components as SDO Web Services• Customizing Human Task Flow activities• Consuming Web Services utilizing the Web Service Datacontrol• Business Component Eventing
![Page 4: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/4.jpg)
Background: Oracle Fusion – What Is It?
• Oracle Fusion Applications • Oracle’s next generation of enterprise applications
• Oracle Fusion Middleware• Integrated standards-based middleware platform
• Oracle Fusion Architecture • Recommended architecture for your custom applications
![Page 5: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/5.jpg)
Background: What We Wanted – Business Drivers
• Cutting Edge UI• Agility• System Integration• Standards• Scalability, Security, Portability• Time to market
![Page 6: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/6.jpg)
Problem: The Development Challenge
• On one side:• JPA, EJB, Ajax, JavaScript, BPEL, SOAP, WSDL, RMI, JNDI,
JDBC, O/R, HTML, DOM….
• On the other side:• Thousands of developers• Most don’t know these technologies• Most come from 4GL background• Expecting a visual and declarative approach• Don’t have time to learn all these new technologies• Need to focus on their specific application needs
• How do you make it easy and approachable?
![Page 7: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/7.jpg)
The Solution - Oracle ADF Framework
• Development framework that simplifies development of Java EE-based SOA applications
• Abstract developers from technology complexities• Example - UI Components abstract from Ajax, Flash,
Javascript, DOM• Provides end-to-end infrastructure solutions…
• O/R Mapping, persistence, caching, controller, binding, UI framework, security
• …and an easy way to use them• JDeveloper - Visual editors, Property editors, dialogs etc…
![Page 8: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/8.jpg)
ADF Business Components
A framework that simplifies developing Java EE business services for developers familiar with 4GL tools, declarative development, and relational databases
• Simplify data access• Uses SQL based data views• Implement best practices• Easy customization
![Page 9: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/9.jpg)
Business Component Features
• Query by example any field• Master/Detail coordination• List of values• Calculated fields• Various validations• Exposing services• Range fetching• Transaction control• Locking mechanism• State management• All done declaratively without coding!
![Page 10: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/10.jpg)
Building Business Components
![Page 11: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/11.jpg)
• ADF Model• JSR-227 Data Controls
• Service Oriented Interface• Abstract implementation from clients • Loose coupling between services
and application• More Productivity
• Drag and drop data binding• More Reusability for Services
• Discover and share services
ADF Model - Data Binding
![Page 12: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/12.jpg)
ADFBusiness LogicView Data
User InterfaceADF Faces
components
Business ServicesADF Business Components
DataBinding
SDO Services
DatabaseSchema
![Page 13: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/13.jpg)
The Fusion ArchitectureBusiness LogicView Data
OrchestrationHuman interaction Policy evaluationMonitoring
RulesEngineAssign
Task
TaskComplete
Human WorkflowService
Mediator /BPEL Process
results
factsBusinessActivity
Monitoring
User InterfaceADF Faces components
Business ServicesADF Business Components
DataBinding
SDO Services
DatabaseSchema
Events
Web
Cen
ter
![Page 14: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/14.jpg)
ADF to SOA InteractionsBusiness LogicView Data
OrchestrationHuman interaction Policy evaluationMonitoring
RulesEngineAssign
Task
TaskComplete
Human WorkflowService
Mediator /BPEL Process
results
factsBusinessActivity
Monitoring
Business ServicesADF Business Components
DataBinding
SDO Services
DatabaseSchema
Events
User InterfaceADF Faces components
Web
Cen
ter
![Page 15: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/15.jpg)
Binding JSF UI to SOA
• The Java EE way• Write manage bean• Write JSF page code• Write EL to connect JSF components to manage bean• Write more manage bean logic to invoke actions
• The Oracle way• ADF Binding – drag and drop
![Page 16: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/16.jpg)
ADF 11g Built-in Data Controls
• ADF Business Components• Java Class• EJB• URL (XML or CSV)• Place Holder• Web Service• BAM• Add your own
![Page 17: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/17.jpg)
ADF and SOA Integration Points
• Expose ADF BC into SCA• ADF BC Service interface wizard
• Show/Interact human workflow tasks in ADF UI• Automatically generate ADF forms• Customize workflow task details through ADF UI
• Invoke a composite from ADF UI• Use Web service data control based on the composite WSDL
![Page 18: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/18.jpg)
BAM Data Control
• Expose BAM data• Drag to the JSF page• Push to the client with
Oracle ADF Active Data Services
![Page 19: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/19.jpg)
Exposing ADF BC to SCA/SDO
• Expose your DB access layer as services
• Simple wizard based definition
• SOA Adaptor
![Page 20: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/20.jpg)
•<Insert Picture Here>
Expose Business Components as Web Services
Demo
![Page 21: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/21.jpg)
Expose Human Tasks in ADF
![Page 22: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/22.jpg)
•<Insert Picture Here>
Create Custom Human Task Page
Demo
![Page 23: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/23.jpg)
Web Service Data Control
1. Give WSDL2. Get Data Control3. Drag and drop to page
![Page 24: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/24.jpg)
Business Component Eventing
• Allows publishing of events to the SCA fabric from the Business Components tier.
• Can be conditional or not• Any number of elements can be listeners for the event
on the ESB.
![Page 25: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/25.jpg)
The Fusion ArchitectureBusiness LogicView Data
OrchestrationHuman interaction Policy evaluationMonitoring
RulesEngineAssign
Task
TaskComplete
Human WorkflowService
Enterprise ServiceBus
results
factsBusinessActivity
Monitoring
User InterfaceADF Faces components
Business ServicesADF Business Components
DataBinding
SDO Services
DatabaseSchema
Events
Web
Cen
ter
![Page 26: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/26.jpg)
Creating a Business Component Event
1. Create Event Definition2. Add Event Publication Rule3. Create Conditions for
Publication (optional)
![Page 27: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/27.jpg)
•<Insert Picture Here>
Adding Eventing to a Business Component
Demo
![Page 28: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/28.jpg)
•<Insert Picture Here>
Summary
• ADF Binding• Visual and declarative way to create UI on top of
various services
• ADF Integration with SOA• ADF BC SDO interface• Human task lists forms generation• Web service Data Control
![Page 29: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/29.jpg)
Q&A, Next Steps, and additional sources of help
http://www.oracle.com/technology/products/jdev/index.html
![Page 30: Integrating SOA and the Application Development Framework](https://reader034.fdocuments.in/reader034/viewer/2022051521/586a27751a28abdf0a8b803f/html5/thumbnails/30.jpg)
<Insert Picture Here>
Learn More
• Oracle.com/technology/jdev• Download• Tutorials• Discussion forum• Samples• ADF Developer Guide
• http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADFInsider-SOA/OracleInsider-SOA.html• More…