Oracle Developer Day - people.cs.ksu.edupeople.cs.ksu.edu/~hankley/d764/Oracle/Slides/RAD... ·...

Post on 05-Aug-2020

1 views 0 download

transcript

1

Page 1

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

OracleDeveloper Day

Session 3Familiar Techniques:

Modeling and Frameworks……

SpeakerSpeaker Title

2

Page 2

Agenda

� Forms as a Framework

� Mapping Forms to Oracle ADF

� Familiar Concepts

� Phases of Application Development

� Full Development Life Cycle

� Development styles

You know Frameworks!

The task of any framework:

� Database interaction

� Business logic

� Application logic (flow)

� UI Logic

� Validation

� Security

� Data transfer and connectivity

� Data caching

� Transaction management

3

Page 3

Forms as a Framework

SQL Interface

Java UI Renderer

PL/S

QL

engin

e

Record Manager

Block

Forms Mapping to ADF

Business ServicesBusiness Services

Web, Wireless

Clients

Web, Wireless

ClientsRich ClientsRich Clients

Model Model

ControllerController

SQL Interface

Da

ta

Lo

gic Record Manager

Block Data Definition

Navigation Logic

UI

Lo

gic Block UI Definition

Java UI Renderer

4

Page 4

Forms Mapping to ADF

Web, Wireless

Clients

Web, Wireless Web, Wireless

ClientsClientsRich ClientsRich ClientsRich Clients

ControllerControllerController

SQL Interface

Da

ta

Lo

gic Record Manager

Block Data Definition

Navigation Logic

UI

Lo

gic Block UI Definition

Java UI Renderer

Business ServicesBusiness Services

Model Model

Forms Mapping to ADF

Business ServicesBusiness Services

Web, Wireless

Clients

Web, Wireless

ClientsRich ClientsRich Clients

Model Model

ControllerController

SQL Interface

Da

ta

Lo

gic Record Manager

Block Data Definition

Navigation Logic

UI

Lo

gic Block UI Definition

Java UI Renderer

5

Page 5

Using Familiar Concepts

� Format Masks

� Default Values

� Declarative Range Validation

� Validation from Code

� Transactional Triggers

� Visual Attributes

� List of Values

Setting a Format Mask

6

Page 6

Setting a Format Mask

Static Default Values

7

Page 7

Static Default Values

How Do You Approach Development?

8

Page 8

Forms and Designer:A Development Approach

1. Analyze and model business and data requirements

2. Define and model database layer

3. Build data objects based on data model (Blocks)

4. Add validation

5. Bind UI to data objects and refine UI

6. Build the Flow

Map the Approach to JDeveloper

1. Analyze and model business and data requirements

2. Define and model database layer

3. Build data objects based on data model (Blocks)

4. Add validation

5. Bind UI to data objects and refine UI

6. Build the Flow

9

Page 9

Activity Modeler

Use Case – Scope

10

Page 10

Class Model

Sequence Model

11

Page 11

Map the Approach to JDeveloper

1. Analyze and model business and data requirements

2. Define and model database layer

3. Build data objects based on data model (Blocks)

4. Add validation

5. Bind UI to data objects and refine UI

6. Build the Flow

Database Modeling and Generation

� Visualize tables, views on a diagram:

– Relationships between tables

– Column specification

– Constraints

� Design and generate

� Import

� Reconciliation– CREATE statements

– ALTER statements

� Browse offline schema

12

Page 12

Map the Approach to JDeveloper

1. Analyze and model business and data requirements [Done]

2. Define and model database layer

3. Build data objects based on data model (Blocks)

4. Add validation

5. Bind UI to data objects and refine UI

6. Build the Flow

Forms as a Framework

SQL Interface

PL/S

QL

engin

e

Record Manager

Block

13

Page 13

Build Data Objects

� Reverse Engineered from DB

– Wizard

– UML Model

� New Object Model

– Class model

– Mapping

� Generated from Designer Repository

“Blocks and Forms”

14

Page 14

Map the Approach to JDeveloper

1. Analyze and model business and data requirements [Done]

2. Define and model database layer

3. Build data objects based on data model (Blocks)

4. Add validation

5. Bind UI to data objects and refine UI

6. Build the Flow

Declarative Data Validation

� Add forms-like validation

– Format masks

– Client-side validation

� Extensible for complex application validation

15

Page 15

Map the Approach to JDeveloper

1. Analyze and model business and data requirements [Done]

2. Define and model database layer

3. Build data objects based on data model (Blocks)

4. Add validation

5. Bind UI to data objects and refine UI

6. Build the Flow

16

Page 16

Map the Approach to JDeveloper

1. Analyze and model business and data requirements [Done]

2. Define and model database layer

3. Build data objects based on data model (Blocks)

4. Add validation

5. Bind UI to data objects and refine UI

6. Build the Flow

Build Application Flow

17

Page 17

Other Expectations?

Full Development Lifecycle

Source

Control

Coding

Debugging

Deployment

UML

Modeling

Tuning

Testing

18

Page 18

Team Development

� Create and apply patch

� Create local CVS repository

� Copy CVS root

� Refactoring Integration

� File extension registry

� Tag support

� Auto add files on commit

� Pending checkout window

� Compare viewer

� History viewer

� Global ignore list

� Remember check-in comments

� Integral CVS client

� Quick check-out

� CVS status dialog

� Separate CVS navigator

Visual and Declarative

� WYSIWYG Editors– JSF, JSP, HTML, Swing

� Visual Page Flow Editor

– JSF, Struts

� Modelers– Visual DB, EJB,

Class modeling

� Visual Editors– XML Schema, XSLT, WSDL

� Process Flow– BPEL Editor

19

Page 19

Choice of Development Styles

VisualDialog

Code

Additional Capabilities

� Data and UI Split (Multiple Views)

� Coding Features

– Code Completion, Code Insight, Code Templates

� Unit Testing

� One click deployment

� Tuning, auditing and profiling

� Extensible IDE

20

Page 20

� UML

� Swing, HTML

� JSP

� JSF

� Apache Struts

� BPEL

� Wireless

� EJBs

� Toplink

� Ant, JUnit

� CVS, Clearcase

� Portal

� Oracle 10g

� JBoss, WLS

� Profiling

� Audit/Metrics

� Etc.

My JDeveloper

� HTML

� JSF

� JSP

� EJBs

� Toplink

� Ant, JUnit

� BPEL

� CVS

� Oracle 10g

� Profiling

� Audit/Metrics

Extension Manager

More Choices – Less Complexity

BPEL

XSL

XSD

BP Project

EJBs

Toplink

Data Project

HTML

JSP

JSF

UI Project

Technology Scopes

Summary

� As part of the Oracle Application Development Framework, ADF Business Components offers the Forms developer a familiar

development environment

� ADF allows developers to work in the style of their choice

� JDeveloper offers developers using familiar development approaches

21

Page 21

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

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

22

Page 22

Learn Oracle From Oracle

� Instructor led training

� Self-Study

� Online learning

� Oracle Certification

� Oracle iLearning

� Oracle Tutor

oracle.com/education

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

23

Page 23

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

OracleDeveloper Day