23
2/15/2012 1 Is Oracle ADF Simpler than Oracle Forms? Shay Shmeltzer – http://blogs.oracle.com/shay Sr. Group Manager – Oracle Development Tools

ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

1

1 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

2 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Is Oracle ADF Simpler than Oracle Forms?

Shay Shmeltzer – http://blogs.oracle.com/shay

Sr. Group Manager – Oracle Development Tools

Page 2: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

2

3 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

What Made Oracle Forms Productive?

• Strong defaulting from DB

• Properties for artifacts

• Built-in Triggers

• Database aware features – LOV, Master Detail

• Simple UI Design – Defaulting + Components

• PL/SQL Coding?

• Simple Architecture

4 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

What Does ADF offer?

�Strong defaulting from DB

�Properties for artifacts

�Built-in Triggers

�Database aware features – LOV, Master Detail

�Simple UI Design – Defaulting + Components

�PL/SQL Coding

�Simple Architecture

Page 3: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

3

5 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Productivity in Oracle ADF

How is it done?

6 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

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

• Simplify validation and business logic

• Uses SQL based data views

• Separate data views from business logic

• Implement best practices

• Easy customization

Database Access Layer

Page 4: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

4

7 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Demonstration

Building Database Interaction with Oracle ADF

8 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

ADF BC - Making Things Simpler

• Query by example any field

• Master/Detail coordination

• List of values

• Calculated fields

• Various validations

• Range fetching

• Web service interfaces

• Transaction control

• Locking mechanism

• State management

All done declaratively without coding!

Page 5: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

5

9 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Property Inspectors – Declarative Development

10 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

List of Values

*ADF also does dependent LOVs

Page 6: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

6

11 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Calculated Fields

12 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Transactional Triggers

Page 7: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

7

13 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Declarative Validation

14 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Sometime ADF Results in Less Coding

• Examples:

• Get translation to code

– Usually coding in post-query or When-Validate-Item

– ADF no code needed (joined view)

• Master-detail synchronization over Forms

– Forms - Requires parameter passing

– Automatic in ADF

Page 8: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

8

15 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Even Simpler Than Java

• Groovy Script expressions

• Even simpler syntax than Java

if ( FirstName=="Lex" && newValue > 5000)

{

return false

} else

return true

16 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Demonstration

Validation and More

Page 9: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

9

17 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

UI Design Froms

18 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

UI Design JDeveloper

Page 10: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

10

19 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

ADF Faces - Component Based UI Development

20 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

And More Components +

Page 11: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

11

21 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

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

22 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Data Visualization Components

Page 12: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

12

23 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Get a UI Like This

24 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Layout Strategies

• Forms – Absolute positioning

– Easier to understand

• ADF – Relative positioning

– Better for changing screen sizes/resolutions

– More layout styles

– Templating

Page 13: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

13

25 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Demonstration

Creating Your User Interface

26 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

UI Event Model = Forms Triggers

<double click><double click>

Page 14: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

14

27 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Controlling Page Flow in Forms

If process_submit then

Call_Form (‘FormA’ )

Else

Call_Form (‘FormB’);

End if;

28 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Page (and Task) Flow in ADF

Page 15: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

15

29 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Some Other Things That Influence

Productivity

30 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Coding Environment

Page 16: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

16

31 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Change Management

32 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Team Collaboration

Page 17: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

17

33 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Requirement Tracking

34 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Customization

• Layered approach to changes

• Single base application for all users

• Upgrades safe

Page 18: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

18

35 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

But What About the Architecture?

36 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Forms as a Framework

SQL Interface

Java UI Renderer

PL/S

QL

engin

e

Record Manager

Block

Page 19: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

19

37 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Forms Mapping to ADF

Business Services

Web, Wireless

ClientsRich Clients

Model

Controller

SQL Interface

Da

ta

Lo

gic Record Manager

Block Data Definition

Navigation Logic

UI

LogicBlock UI Definition

Java UI Renderer

38 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Forms Mapping to ADF

Business Services

Clients

Web, Wireless

ClientsRich Clients

Model

Controller

SQL Interface

Da

ta

Lo

gic Record Manager

Block Data Definition

Navigation Logic

UI

Lo

gic Block UI Definition

Java UI Renderer

Page 20: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

20

39 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

The Fusion Architecture OverviewBusiness LogicView Data

OrchestrationHuman interaction Policy evaluationMonitoring

Rules

Engine

Human Workflow

Service

Mediator /BPEL

Process

results

facts

BAM

Business ServicesData

Binding

events

assign

complete

40 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Architecture Drives Long Time Ease

• Reusability

– Business Services

– Taskflows

– UI

• Maintenance

– Separate layers = independent changes

• Customization

– Simpler tailoring to specific needs

Page 21: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

21

41 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Summary

• Oracle ADF delivers simplicity matching Forms capabilites

• Many familiar concepts/techniques for Forms developers

• Delivering better architecture for your application

42 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Join the JDeveloper/ADF Community

oracle.com/technetwork/jdev

Twittertwitter.com/JDeveloper

Facebookfacebook.com/JDeveloper

Oracle’s JDeveloper PM blogblogs.oracle.com/ JDeveloperpm

Page 22: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

22

43 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

More Information

• Forms strategy– http://otn.oracle.com/products/forms

• Modernizing Oracle Forms– http://otn.oracle.com/goto/formsmodernize

• Java for Forms developers– http://otn.oracle.com/formsdesignerj2ee

• Article on Forms migration– http://www.oracle.com/technology/products/forms/pdf/10gR2/formsmigration.pdf

• White paper on redeveloping Forms using ADF– http://www.oracle.com/technology/products/jdev/collateral/4gl/papers/redevelopi

ng_forms_in_adf_11g.pdf

• Customer story– http://www.oracle.com/technology/products/jdev/customers/MEDNET.pdf

44 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

For More Information

• www.oracle.com/technetwork/jdev

• Tutorials

• Demos

• Software

• Discussions

• Blogs

• And moreU

Page 23: ADF-Simpler than forms - Amazon S3...•Oracle ADF delivers simplicity matching Forms capabilites •Many familiar concepts/techniques for Forms developers •Delivering better architecture

2/15/2012

23

45 Copyright © 2011, Oracle and/or its affiliates. All rights

reserved.

Q&A