ADF Controller

18 downloads 13708 Views 5MB Size Report
Accelerated Java EE Development: The Oracle Way ... Principal Product Manager – Oracle JDeveloper and Oracle ADF .... Oracle JDeveloper 11g Handbook.
1

1



Accelerated Java EE Development: The Oracle Way Dana Singleterry Principal Product Manager – Oracle JDeveloper and Oracle ADF http://blogs.oracle.com/dana Warning – demo contains small fonts – you might want to sit closer

2

How Can We Accelerate Java EE Development?

• Better Development Tools – Visual and declarative – Tools that provide “the .NET experience” for Java – Example : Oracle JDeveloper, Oracle Enterprise Pack for Eclipse • EJB Modeling, Declarative JPA, Visual JSF, etc…

• Better Development Framework – Connect all the pieces – Abstract complexities of underlying technology – Example : Oracle ADF

3

3

Visual and Declarative Development

• Visual tool = UML – UML has its place for design/documentation stage – Visual design eliminate code and image synchronization

• Sometime a picture is worth a 1000 words (or code lines) • Some developers are more productive with visual tools • UI design is much easier with visual tools • Declarative – “code generators”, properties, declarative editors

4

4

Quick Eye Exam - Which One is Clearer

5

5

This?

6

6

Or This?

7

7

This?

8

8

Or This?

9

9

This?

10

10

Or This?

11

11

This?

12

12

Or This?

13

13

Finding it Hard to Decide? Then Don’t!

Visual Dialog Code 14

14

A Better Framework

• Integrated – Across the Java EE layers

• Complete – Addresses more than just Web UI on Java EE

• Flexible • Innovative • Easy to use

15

15

Oracle ADF – A Complete Framework Web

Desktop

Database

Web Services

Mobile

Legacy Systems

Office

Apps Unlimited 16

16

Oracle ADF – A Better Framework

• All the layers of MVC • Multiple UI Channels – Web, Desktop, Mobile Browser, Mobile Native, Excel

• Multiple Backend Services – JPA/EJB, POJO, Web services, XML, more…

• Innovative – Declarative binding, Task flows

• • • •

Security Customization (runtime/designtime) Integration with SOA, Portal Integrated visual and declarative development tool 17

17

Oracle ADF - The Bigger Picture

Metadata Services (MDS)

Desktop ADF Swing

Browser-Based

Office

Mobile

JSF

ADF Faces

JSF ADF Controller

JSP

Struts

EJB

ADFbc

BAM

Web Services

Controller Model

ADF Binding

Java

View

BPEL

BI

Portlets

Business Services Data Services

Database

Web Services

Legacy Systems

Apps Unlimited

18

18

ADF Faces Rich Client Components

• • • • •

Over 150 components Ajax enabled Pluggable look and feel Accessibility & internationalization The usual components plus: – Charts, gantt, geo-map, pivot, calendars, coverflow

• Built in advanced functionality: – – – –

Drag and drop framework Dialog and pop-up framework “Active Data” - Dashboards / push updates (comet) Templating and declarative components 19

19

MICROS

20

20

Cuyahoga County GIS

21

21

Fusion Applications HCM

22

22

Fusion Applications Projects

23

23

Fusion Applications Procurement

24

24

ADF Model - Data Binding • ADF Model – JSR-227 Data Controls

• Service Oriented Interface – Abstract implementation from clients – Loose coupling between services and application

• More Reusability – Discover and share services

• More Productivity – Drag and drop data binding – Declarative properties setting

25

25

EJB Session Facade/JPA Data Control

• • • • • • •

Master/Detail Common Operations Sort and filter result set Range fetching Query Component Support Declarative Validation UI Hints

26

26



Demo 27

27

ADF 11g Built-in Data Controls

• • • • • • • •

Java Class EJB Web Service URL (XML or CSV) Place Holder ADF Business Components Essbase Add your own

28

28

ADF Controller

• An extension to the JSF page flow engine • From page flow to process flow – Include methods, decision points and pages

• Diagram your process • Build reusable task flows – In other flows, inside other pages

• Advance functionality in a declarative way – Transaction, initialization, Back button

29

29

Task Flows - Reusable Page Flows

Bounded Task Flow

Task Flow

Page region

30

30

ADF Controller – Other things

• New memory scopes – Pageflow, View

• • • •

Initializer / Finalizer Exception handling Back button handling Bookmarked JSF with parameters

31

31



Demo 32

32

Oracle ADF Mobile

• Two approaches: – ADF Mobile Browser – ADF Mobile Client

• Extend your existing application • Reuse business services • Same development concepts

33

33

ADF Desktop Integration

• Excel Spreadsheets connected to Java Business services through ADF binding • Familiar working environment • Connected or disconnected • Leverage business services and security from your application 34

34

MDS - Layered Customizations Key Capabilities: • Common metadata store • Set up personalized content and services for users • Stored as layers on top of base application Benefits: • Insulates users from updates and patches • Used throughout Oracle stack – business processes, business intelligence and applications

1. Base application deployed 2. Onsite branding 3. LOB branding

4. User personalization and more…

35

35

ADF Security

• Authentication and authorization • End to end security – Business services operations – Task flows – UI components

• Externalized security administration • Sits on top of Oracle Platform Security Services – Pluggable providers – Adaptive access management

36

36

Learn More Online – JDeveloper and ADF on OTN

• http://oracle.com/technology/jdev • • • • • • •

Tutorials Demos Books Discussion Forum How-to’s Samples More

37

37

Related Oracle Press Books

• Quick Start Guide to Oracle Fusion Development • Oracle JDeveloper 11g Handbook • Oracle Fusion Developer Guide

38

38

The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

39

39