Oracle Developer Day Sponsored by: Sponsored by: Sponsored by: - - PDF document

oracle developer day
SMART_READER_LITE
LIVE PREVIEW

Oracle Developer Day Sponsored by: Sponsored by: Sponsored by: - - PDF document

Oracle Developer Day Sponsored by: Sponsored by: Sponsored by: Sponsored by: Session 2 Oracle Application Development Framework Speaker Speaker Title Page 1 1 Agenda Development Environment Expectations Challenges


slide-1
SLIDE 1

1

Page 1

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

Oracle Developer Day

Session 2 Oracle Application Development Framework ……

Speaker

Speaker Title

slide-2
SLIDE 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?

slide-3
SLIDE 3

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

slide-4
SLIDE 4

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

slide-5
SLIDE 5

5

Page 5

ADF Architecture

ADF Data Binding/ Data Control ADF Data Binding/ Data Control Struts Struts JSF JSF JSF/ADF Faces JSF/ADF Faces

JSP JSP

ADF Swing ADF Swing Java Java Classes Classes

EJB EJB

ADF ADF

Business Business Components Components

Web Web Services Services Portlets Portlets

JSR JSR-

  • 168

168 WSRP WSRP

View Controller Model

(JSR 227)

Business Services

Rich Client Web / Wireless

Toplink Toplink

Relational Data XML Data

Metadata Services (MDS)

Packaged Apps

Legacy Data

Data Source Business Services Web and Wireless Rich Clients Model Controller View Controller Model

(JSR 227)

ADF Architecture Overview

slide-6
SLIDE 6

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 Services

Design 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

slide-7
SLIDE 7

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

slide-8
SLIDE 8

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

slide-9
SLIDE 9

9

Page 9

ADF Model

Business Services Web and Wireless Rich Clients Model Controller

ADF Model

  • Abstract service implementation

from 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
slide-10
SLIDE 10

10

Page 10

Declarative Data Validation

DB Constraint EJB/Java Servlet Javascript Swing Model Validation Validation

Declarative Data Validation

Declarative data validation

Consistent interface for common validation

Extensible for complex application validation

Metadata based

Independent of the implementation

EJB

Toplink

Java Classes

ADF BC

slide-11
SLIDE 11

11

Page 11

Drag-and-Drop Binding

Data Control Palette

Expose any business service

Available to any client

UI Development

Business Services Web and Wireless Rich Clients Model Controller

slide-12
SLIDE 12

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

slide-13
SLIDE 13

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

slide-14
SLIDE 14

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 Wireless Rich Clients Model Controller

slide-15
SLIDE 15

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

slide-16
SLIDE 16

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-Business Suite / Fusion

Enterprise Manager

slide-17
SLIDE 17

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-Business Suite / Fusion Enterprise Manager

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

slide-18
SLIDE 18

18

Page 18

JHeadstart Example: “Minimal” Skin JHeadstart Example: Oracle Skin

slide-19
SLIDE 19

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

slide-20
SLIDE 20

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 Downloads Free Software Downloads Free Software Downloads Free Software Downloads Free Technical Advice Free Technical Advice Free Technical Advice Free Technical Advice

www.oracle.com/technology/products/jdev www.oracle.com/technology/products/jdev www.oracle.com/technology/products/jdev www.oracle.com/technology/products/jdev

  • tn.oracle.com/formsdesignerj2ee
  • tn.oracle.com/formsdesignerj2ee
  • tn.oracle.com/formsdesignerj2ee
  • tn.oracle.com/formsdesignerj2ee

Learn Oracle From Oracle

Instructor led training Self-Study Online learning Oracle Certification Oracle iLearning Oracle Tutor

  • racle.com/education
slide-21
SLIDE 21

21

Page 21

A Q &

Q U E S T I O N S Q U E S T I O N S A N S W E R S A N S W E R S

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

Oracle Developer Day