Title: Integrating SOA and the Application Development Framework
1(No Transcript)
2Integrating SOA and the Application Development
Framework
- Shaun OBrien
- Principal Product Manager Oracle JDeveloper /
ADF
3Overview
- 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
4Background Oracle Fusion What Is It?
- Oracle Fusion Applications
- Oracles next generation of enterprise
applications - Oracle Fusion Middleware
- Integrated standards-based middleware platform
- Oracle Fusion Architecture
- Recommended architecture for your custom
applications
5Background What We Wanted Business Drivers
- Cutting Edge UI
- Agility
- System Integration
- Standards
- Scalability, Security, Portability
- Time to market
6Problem 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 dont know these technologies
- Most come from 4GL background
- Expecting a visual and declarative approach
- Dont have time to learn all these new
technologies - Need to focus on their specific application needs
- How do you make it easy and approachable?
7The 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
8ADF 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
9Business 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!
10Building Business Components
11ADF Model - Data Binding
- 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
12ADF
Business Logic
View
Data
User Interface ADF Faces components
Business Services ADF Business Components
Data Binding
DatabaseSchema
SDO Services
13The Fusion Architecture
Business Logic
View
Data
User Interface ADF Faces components
Business Services ADF Business Components
Data Binding
DatabaseSchema
WebCenter
SDO Services
Events
Mediator /BPEL Process
Human WorkflowService
RulesEngine
Business ActivityMonitoring
facts
Assign Task
results
Task Complete
14ADF to SOA Interactions
Business Logic
View
Data
User Interface ADF Faces components
Business Services ADF Business Components
Data Binding
DatabaseSchema
WebCenter
SDO Services
Events
Mediator /BPEL Process
Human WorkflowService
RulesEngine
Business ActivityMonitoring
facts
Assign Task
results
Task Complete
15Binding 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
16ADF 11g Built-in Data Controls
- ADF Business Components
- Java Class
- EJB
- URL (XML or CSV)
- Place Holder
- Web Service
- BAM
- Add your own
17ADF 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
18BAM Data Control
- Expose BAM data
- Drag to the JSF page
- Push to the client with Oracle ADF Active Data
Services
19Exposing ADF BC to SCA/SDO
- Expose your DB access layer as services
- Simple wizard based definition
- SOA Adaptor
20Demo
Expose Business Components as Web Services
21Expose Human Tasks in ADF
22Demo
Create Custom Human Task Page
23Web Service Data Control
- Give WSDL
- Get Data Control
- Drag and drop to page
24Business 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.
25The Fusion Architecture
Business Logic
View
Data
User Interface ADF Faces components
Business Services ADF Business Components
Data Binding
DatabaseSchema
WebCenter
SDO Services
Events
Enterprise Service Bus
Human WorkflowService
RulesEngine
Business ActivityMonitoring
facts
Assign Task
results
Task Complete
26Creating a Business Component Event
- Create Event Definition
- Add Event Publication Rule
- Create Conditions for Publication (optional)
27Demo
Adding Eventing to a Business Component
28Summary
- 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
29QA, Next Steps, and additional sources of help
http//www.oracle.com/technology/products/jdev/ind
ex.html
30Learn More
ltInsert Picture Heregt
- Oracle.com/technology/jdev
- Download
- Tutorials
- Discussion forum
- Samples
- ADF Developer Guide
- http//download.oracle.com/otn_hosted_doc/jdevelop
er/11gdemos/ADFInsider-SOA/OracleInsider-SOA.html - More