oracle developer day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/oracle/slides/rad...

21
1 Page 1 Sponsored by: Sponsored by: Sponsored by: Sponsored by: Oracle Developer Day Session 2 Oracle Application Development Framework …… Speaker Speaker Title

Upload: others

Post on 04-Jun-2020

18 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

1

Page 1

Sponsored by:Sponsored by:Sponsored by:Sponsored by:

OracleDeveloper Day

Session 2Oracle

Application Development Framework

……Speaker

Speaker Title

Page 2: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

2

Page 2

Agenda

� Development Environment

– Expectations

– Challenges

� Oracle ADF Architecture

– Business Services

– Model

– View

– Controller

� Integrated Tool for the Platform

� JHeadstart

“Upgrade and Integrate”

� Integration

– What is the best technology to use ?

– What are your expectations?

Page 3: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

3

Page 3

Forms and Designer Users:What are your Expectations?

� Development Productivity

– Modeling

– Visual and declarative development

� Runtime Efficiency

– Performance and scalability

– No need to code the “plumbing” infrastructure

� Different architectures– J2EE Best Practices

– Service Oriented Architecture

– Event-Driven Architecture

� Different technologies– WS, BPM, XML, WSDL, Portal, Wireless, etc.

� Different data sources & access– Database, Legacy, Packaged Apps, WS, etc.

� Diverse set of developers– Different technical skills

– Different development styles

– All need to be productive

Development Challenges Now

Page 4: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

4

Page 4

Next Generation of J2EE Tools

� Reach a Broader Audience

– Bring the power of J2EE to corporate developers

� Increase Productivity and Ease of Use

– Visual and declarative development

– Less coding, more reuse

– Bridge the usability gap with C/S tools

� Reduce Learning Curve / Staffing Issues

– Provide abstraction on top of J2EE

Oracle ADF

� Simplifies J2EE Development

– Visual and declarative set of tools

– Rapidly becoming as productive as Forms

� Implements Best Practices

– Standard J2EE best practices

– Model-View-Controller (MVC) design pattern

Page 5: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

5

Page 5

ADF Architecture

ADF Data Binding/ Data ControlADF Data Binding/ Data Control

StrutsStruts JSFJSF

JSF/ADF FacesJSF/ADF FacesJSPJSPADF SwingADF Swing

Java Java ClassesClassesEJBEJB

ADF ADF Business Business

ComponentsComponents

WebWebServicesServices

PortletsPortletsJSRJSR--168168WSRPWSRP

View

Controller

Model(JSR 227)

Business Services

Rich Client Web / Wireless

ToplinkToplink

Relational Data XML Data

Me

tad

at a

Se

rvic

es

(M

DS

)

Packaged AppsLegacy Data

Data Source

Business Services

Web and WirelessRich Clients

Model

Controller

View

Controller

Model(JSR 227)

ADF Architecture Overview

Page 6: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

6

Page 6

Business Services

� Manages Persistence– O/R mapping

– Queries/DML

� Performs Validation– Data validation

– Business logic

� Choices of implementation– EJB, ADF Business Components, Toplink,

Web Services, Java classes

Business ServicesDesign Time

� UML Modelers, Wizards, Code Editors

– ADF Business Components

– Enterprise JavaBeans

– TopLink

– Database Schema

– Web Services

– Java Classes

� Integrated J2EE server

(OC4J) for accelerating

develop-run-debug cycle

Page 7: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

7

Page 7

ADF Business Components

� Complete business tier development framework

� Implements J2EE design patterns

� Best practice solutions for:– Business logic implementation

– Scalability and performance

– Optimized database interaction

� Standard deployment options: – EJB, web tier, web services

Enterprise JavaBeans (EJB)

� Integrated environment to model, code, test, and debug EJBs

� Productively develop EJBs

– EJB Module Editor

– Design patterns support

� Data Transfer Object

� Session Façade

– EJB Verifier

Page 8: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

8

Page 8

TopLink

� Object-Relational Persistence Architecture

– Java Classes – “POJO”

– CMP Entity Beans

� TopLink Mapping Editor

� Mappings verifier

� Unit test mappings

Web Services

� Enterprise-Class J2EE Web Services

– Asynchronous conversations

– Interoperability with .NET Web

Services

– Productive development

� TCP packet monitor

� PL/SQL Web Service wizard

� WS-I compliance tester

� ADF Data Control Binding

Page 9: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

9

Page 9

ADF Model

Business Services

Web and WirelessRich Clients

Model

Controller

ADF Model

� Abstract service implementationfrom clients

– EJB, Web Services, Toplink, Java Classes, etc.

– Service Oriented Interface

� Declarative Data Binding

– Common binding of data to UI components

– Uses EL (standard expression language) to reduce learning curve

– Clean separate of view and model

� Declarative Data Validation

– Consistent interface for common validation

– Extendable for complex application validation

� Design Tools

Page 10: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

10

Page 10

Declarative Data Validation

DB ConstraintEJB/JavaServlet

Javascript

Swing Model

ValidationValidation

Declarative Data Validation

� Declarative data validation– Consistent interface

for common validation

– Extensible for complex application validation

– Metadata based

� Independent ofthe implementation

– EJB

– Toplink

– Java Classes

– ADF BC

Page 11: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

11

Page 11

Drag-and-Drop Binding

Data Control Palette

– Expose any business service

– Available to any client

UI Development

Business Services

Web and WirelessRich Clients

Model

Controller

Page 12: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

12

Page 12

UI Development

� Visual editors

– JavaServer Faces

– JSP and HTML

– Swing (ADF Swing)

� Component palette

� Common binding

� Property inspector

� Structure window

Design and Code Sync

� Design View or Code View

– Available for all components

– Full synchronization with the code

Page 13: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

13

Page 13

ADF Faces

� Rich set of standard components– 100+ components

– Works with any Faces-compliant IDE

– Rich browser experience

� Multiple Target Devices– Browser – HTML

– Browser – DHTML/Javascript

– Mobile/PDA/Telnet

� Interactive UI Components– Partial Page Rendering

– Rich Internet Architecture (RIA)

JSP Visual Design

� Synchronized JSP Visual Design with

– Code Editor

– Structure Window

– Property Inspector

– Data Control/Component Palette

� Integrated with JSTL/EL & Struts

– Taglibs exposed on Component Palette

– Intuitive tag and EL rendering

– Synchronized with Struts Page Flow

� Universal ADF Databinding

– Toplink, EJB, BC4J

– Web Services

– Drag and drop UI Components

Page 14: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

14

Page 14

ADF Swing

� Rich Client user interface

(JFC/Swing)

� Common data binding

– ADF Business Components

– TopLink

– Enterprise Java Beans

– Webservices

– Java Beans

� WYSIWYG Editor

� UI Debugging

ADF Architecture Overview

Business Services

Web and WirelessRich Clients

Model

Controller

Page 15: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

15

Page 15

Controller

� Handles Page Flow– Promotes page reuse through abstraction

– Increase flexibility and manageability

� Place for code execution– Programmatic interaction with the Model and

Business Service

– Application support tasks

� Security

� Input validation

� State management

Page Flow

� Visual development with the Page Flow modeler

– Draw the page flow

– Synchronized with Faces-config.xml

– Drilldown to code & pages

� Declarative

– Structure window

– Property Inspector

Page 16: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

16

Page 16

Oracle JDeveloper 10g

� Standards-based IDE

� Integrated Tool for the Platform

� Full Development Life Cycle Support

� Visual and Declarative

� Adapts to Environment

– Not the other way around

– Adapt to choices of technologies

– Adapt to choices of development styles

Common Architecture

Metadata Services (MDS)

OC4J

ADF

Portal Integration Wireless

JDeveloper

E-B

usin

ess S

uite / F

usio

n En

terp

rise

Ma

na

ge

r

Page 17: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

17

Page 17

Integrated Tool for the Platform

� Single stack for all APS development– Application Development/SODA

� J2EE, Web Services, XML

� Portal, BPEL, Wireless

– Database

� Modeling, SQL, PL/SQL

– Business Intelligence

� BI Beans, Reports

� Common Tool = More productivity– Common Concepts

– Common Gestures

Metadata Services (MDS)

OC4J

ADF

Portal Integration Wireless

JDeveloper

E-B

usin

ess S

uite

/ F

usio

n

En

terp

rise

Ma

nag

er

JHeadstart Application Generator for ADF

� JDeveloper 10g Extension– Additional Editors for Defining Application Structure Declaratively

� Generates Web Tier for ADF App Modules with:– Quick- and Advanced Search Regions

– Single- & Multi-row Editing

– Scrollable Tables with Nested Details

– Dropdown Lists and Pop-Up LOV's with Validation like Forms

– Shuttle pickers, Tree controls, Role-based Authorization, and More

� Supports JSP or UIX Generation (JSF in Future)

� Migrate Oracle Designer-Created Forms to ADF

� Available From, Supported By Oracle Consulting

Page 18: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

18

Page 18

JHeadstart Example: “Minimal” Skin

JHeadstart Example: Oracle Skin

Page 19: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

19

Page 19

Summary

� JDeveloper offers a true IDE

� Oracle ADF offers choices at each stage of

development

– Model

– View

– Controller

� Integrated Tool for the Platform

� JHeadstart

D E M O N S T R A T I O N

Page 20: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

20

Page 20

Join Over 3,000,000 Developers!Join Over 3,000,000 Developers!Join Over 3,000,000 Developers!Join Over 3,000,000 Developers!

Free Software DownloadsFree Software DownloadsFree Software DownloadsFree Software DownloadsFree Technical AdviceFree Technical AdviceFree Technical AdviceFree Technical Advice

www.oracle.com/technology/products/jdevwww.oracle.com/technology/products/jdevwww.oracle.com/technology/products/jdevwww.oracle.com/technology/products/jdevotn.oracle.com/formsdesignerj2eeotn.oracle.com/formsdesignerj2eeotn.oracle.com/formsdesignerj2eeotn.oracle.com/formsdesignerj2ee

Learn Oracle From Oracle

� Instructor led training

� Self-Study

� Online learning

� Oracle Certification

� Oracle iLearning

� Oracle Tutor

oracle.com/education

Page 21: Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD Track/Session2.pdfOracle Developer Day Session 2 Oracle Application Development ... Page 2

21

Page 21

AQ&Q U E S T I O N SQ U E S T I O N S

A N S W E R SA N S W E R S

Sponsored by:Sponsored by:Sponsored by:Sponsored by:

OracleDeveloper Day