Jdeveloper adf the real business experience
Sponsored Links
This presentation is the property of its rightful owner.
1 / 130

JDeveloper ADF - The Real Business Experience PowerPoint PPT Presentation


  • 60 Views
  • Uploaded on
  • Presentation posted in: General

SAGE Computing Services Customised Oracle Training Workshops and Consulting. JDeveloper ADF - The Real Business Experience. State of the Nation. www.sagecomputing.com.au [email protected] [email protected] Chris Muir Penny Cookson. SAGE Computing Services

Download Presentation

JDeveloper ADF - The Real Business Experience

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


SAGE Computing Services

Customised Oracle Training Workshops and Consulting

JDeveloper ADF - The Real BusinessExperience

State of the Nation

www.sagecomputing.com.au

[email protected]

[email protected]

Chris Muir

Penny Cookson


SAGE Computing Services

Customised Oracle Training Workshops and Consulting

Penny Cookson

Managing Director and Principal Consultant

Working with since 1987

Oracle Magazine Educator of the Year 2004

Chris Muir

Technical Architect

Working with Oracle products since 1996

Oracle Ace Director of the Year 2009


Take a Trip Back to 1992


Oracle Products 1992

Oracle

Forms/Reportwriter

Character

Database

Oracle

Financials


Oracle Products 1994

Oracle

Forms/Reports

Client Server

Database

Oracle

Financials


Oracle Products 1996

Oracle

Forms/Reports

Web based

Database

Oracle

eBusiness Suite

Oracle

Application Server


And now Back to the Future


Our Business Users


What We Need

End to End development

Rich Internet Applications

To access a wide range of data sources

The ability to integrate

Standards based solution

Business Agility


Oracle Fusion Middleware

Comprehensive technology stack

WebLogic

Server

ADF Framework

Developer Tools

Content Management

Data Integration

SOA Suite

Exalogic

WebCentre

Business Intelligence

Identitiy Managment

You don’t need to use all of it


Oracle Fusion Middleware

Comprehensive technology stack

WebLogic

Server

ADF Framework

Developer Tools

This presentation focuses on ADF

Content Management

Data Integration

SOA Suite

Exalogic

WebCentre

Business Intelligence

Identitiy Managment


Rich Internet Application


DataSource Support

  • Files

  • Databases

  • Web Services


Existing Oracle Customers

ADF Business Components

INSERT

UPDATE

DELETE

LOCK

  • WebLogic Server support for legacy Forms

SELECT

Table

Key support for Oracle database

Integration between Forms and ADF


Business Agility


Oracle ADF Architecture


What are Oracle doing with it?


What are Oracle doing with it?

Eating their own dog food

This gives us confidence

drinking their own champagne


What About the Rest of Us?

Smart software vendors have recognised the strategic shift to ADF and acted


Smart software vendors have recognised the strategic shift to ADF and acted

CALLISTA

  • Callista have been developing on the JDev platform for some years, starting with 10g

  • Began training/prototyping in 2006

  • Ahead of the curve for the Middleware platform 

  • Significant investment in defining best practice technical architecture for the product


Smart software vendors have recognised the strategic shift to ADF and acted

TALENT2

  • Talent2 with their Alesco software have been developing on the JDev platform for some years, starting with 10g

  • Ahead of the curve for the Middleware platform 

  • Significant investment in defining best practice technical architecture for the product


What About the Rest of Us?


Custom developments vary in size and complexity

Small and complex

Small and simple


Custom developments vary in size and complexity

Sophisticated and flashy

Practical


And sometimes you don’t end up with quite what you wanted


And sometimes you don’t end up with quite what you wanted


Recommendation

Then build a well architected and practical solution

Start small and learn


Forms Modernisation

Sage has been working with the Department of Finance on their RCIS modernisation project

  • Large numbers of Oracle Forms programs

  • Originally Oracle Forms 4.5 & Reports 2.5

  • Successfully upgraded through/up to 10g

  • By 2010 grew to ~800 Forms & ~200 Reports

  • Internal and External applications

  • Large investment in traditional Forms skills

  • Significant business code in PL/SQL packages


.Net vs ADF - “Title Fight”

DTF pre-selected potential platforms

.Net & ADF main contenders

A number of PoC challenges were devised

  • Prior to trial, ADF was considered poor cousin

  • But ADF was chosen as a clear winner


Main Perceived Benefits of ADF?

  • Database centric

  • Declarative

  • Java

  • Service Oriented Development (task flows)

  • Task flows -> Reuse

  • Rich Enterprise Application (Web 2.0(ish))

  • Suitable for both public/internal apps

  • Single WLS platform

  • Future proofing: Oracle’s strategic platform


http://www.oracle.com/us/corporate/customers/dept-of-treasury-5-weblogic-ss-349829.pdf

Migrate Forms to 11g Weblogic Server


What FMW was adopted?

  • ADF 11.1.1.4.0

  • WLS

  • Hudson

  • MDS

  • WebCenter

  • SOA/BPM

  • IDM


ADF Training and Consulting


Redesign and Build in Jdeveloper ADF


http://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf


Issues for Any New Jdeveloper ADF Project

For Business Analysts determining requirements

  • Take advantage of new interface styles and functionality

  • Consider business improvements

  • Think in terms of business services

  • Avoid the temptation to think in terms of Oracle Forms


For Business Analysts determining requirements

  • Oracle Forms

  • Lots of content

  • Multiple tabs

  • All strung together

  • in a network


For Business Analysts determining requirements

  • Jdeveloper ADF

  • Well designed workflows


For Business Analysts determining requirements

  • Jdeveloper ADF

  • Simple, cleaner content on data entry pages


For Business Analysts determining requirements

  • Jdeveloper ADF

  • Summary screens can have lots of content

  • Use UI components like Accordions


For Business Analysts determining requirements

  • Jdeveloper ADF

  • More sophisticated searching options than Forms


For Business Analysts determining requirements

  • Jdeveloper ADF

  • Are you going to use the UI Shell?


Issues for Any New Jdeveloper ADF Project

For Technical Architects and Designers

  • A high level of skills is required

  • For any but a very simple application the following are critical:

    • Managing reuse

    • Managing deployment

    • Managing versions

    • Standards


Issues for Any New Jdeveloper ADF Project

For Developers

  • The learning curve is steep

  • There are lots of resources on OTN/blogs etc do not reinvent the wheel

  • Do not fight the product – try to go with what it does well

  • Reuse existing PL/SQL code


Issues for Any New Jdeveloper ADF Project

For Developers

  • The learning curve is steep

  • There are lots of resources on OTN/blogs etc do not reinvent the wheel

  • Do not fight the product – try to go with what it does well

  • Reuse existing PL/SQL code


Issues for Any New Jdeveloper ADF Project

For Project Managers

  • Allow plenty of time for technical architecture design

  • Skills may be in short supply

  • Traditional Oracle developers will require significant time to transition

  • Innovative requirements analysis can lead to business agility

  • It will take longer than you think (but what project doesn’t)


ADF Training and Consulting


SAGE Computing Services

Customised Oracle Training Workshops and Consulting

JDeveloper ADF - The Real BusinessExperience

A Technical Overview

www.sagecomputing.com.au

[email protected]

[email protected]

Chris Muir

Penny Cookson


http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Co-existence

Legacy Forms applications will remain an important part of many solutions

Interoperate

Upgrade


Integration With Legacy Forms

For large applications progressive replacement approach is likely

Full integration - OraFormFaces

Specific integration points – minimises Forms changes

No integration – only possible if independent chunks of the application can be identified


Oracle Fusion Middleware

Comprehensive technology stack

WebLogic

Server

ADF Framework

Developer Tools

This presentation focuses on ADF

Content Management

Data Integration

SOA Suite

Exalogic

WebCentre

Business Intelligence

Identitiy Managment


Mature Framework


Standards Based

  • Industry Standards (Java, XML etc)

  • aka Platform Independence

  • Pluggable

  • Run on any JEE compliant application server

  • Not locked into 1 vendor


ADF Faces RC

View

ADF Swing

Trinidad

JSF

JSP

Mobile

Swing

Struts

JSF

ADF (JSF) Controller

Controller

ADF Model

ADF Bindings

Business Services

Java Classes

(POJO)

EJB3 & JPA

(EclipseLink)

ADF Business Components

Web

Services

Technologies


Support for Forms Programmers

Navigator

Property Palette

Editor


Support for Forms Programmers

Property Palette

Component Palette

Navigator

Editor

Property Palette

Structure Window

Message Log


Database Centric – Model Layer

BookingService (Application Module )

COMMIT

ROLLBACK

OrganisationsVO

Events VO

Bookings VO

OrganisationsEO

Events EO

Bookings EO

INSERT

UPDATE

DELETE

LOCK

INSERT

UPDATE

DELETE

LOCK

INSERT

UPDATE

DELETE

LOCK

SELECT

SELECT

SELECT

Bookings

Events

Organisations


Preserve Your PL/SQL

Java Wrapper

PL/SQL Packages

Java code


Preserve Your PL/SQL


Visual & Declarative (metadata driven)

  • Programmers are software’s worse enemy

  • In a lifetime of a program 9 out of 10 lines of code will have a bug


Graph/Gauges/DVT/Drag n Drop


Graph/Gauges/DVT/Drag n Drop


Support for Code

Source


Support for Code

Property Palette


Not Limited - Supports Custom Code

Groovy Scripting

Java


Component Based User Interface

11.1.1.4 - JSF 1.2

11.1.2 - JSF 2.0

Expression language (EL)


Controller


UI Coding


UI Coding - JavaScript


Skins 11.1.1.4


Skins – 11.1.2


Skills So Far

Groovy

Java

EL

CSS

PL/SQL

JavaScript


And Before We Get to Build

Application structure

Security

Deployment

Technical Architecture Design

Templates

Reuse

Version Control

Team Development

Library management


What About Managing the Environment

Subversion

Shared libraries

Multiple developers

Multiple versions


What About Managing the Environment

Hudson

Continuous integration

Ant

Build tool

JUnit

Unit testing

Project build, reporting and documentation

Maven


What About Managing the Environment

Oracle Team Productivity Centre

Chat

Team management

Dashboard

Integration with third party products


Mobile Applications

Can I deploy ADF applications on mobile devices?


Oracle ADF Mobile

  • Browser

  • Native


Mobile Browser

  • Uses Apache MyFaces Trinidad components

  • Uses JSF page flows

  • Blackberry, Windows mobile, iPhone Safari, Nokia S60


Mobile Browser

  • 11.1.2

  • Create Custom Project

  • Add ADF Mobile Browser feature

  • Check Render on Mobile Device

  • CSS files automatically generated

  • 11.1.1.4

  • Create Fusion Web Application

  • Check Render on Mobile Device

  • Manually download and add CSS files


ADF Mobile Client Developer

  • ADF Mobile Client Developer

  • Extension to Jdeveloper

  • Local database (SQLite)

  • Use disconnected

  • Data Synchronisation

  • Supports Blackberry and Windows Mobile


Oracle ADF Mobile

  • Next Generation

  • Combine Mobile Browser and Mobile Client into one product On-device and server based applications

  • Merge web-based and native functionality

  • Early Adopter release “soon”


Next Steps

  • Plan

  • Learn

  • Setup Environment

  • POC

  • Resource


  • Or you could just put up with this


  • Instead of this


ADF Training and Consulting


SAGE Computing Services

Customised Oracle Training Workshops and Consulting

JDeveloper ADF - The Real BusinessExperience

The Power of Reuse

How Oracle’s ADF makes

web development productive again

www.sagecomputing.com.au

[email protected]

[email protected]

Chris Muir

Penny Cookson


Agenda

  • Part 1Making use of Reuse

  • Part 2Skins

  • Part 3Page Templates

  • Part 4Declarative Components

  • Part 5The Killer Reuse Feature


Part 1 – Making use of Reuse

The old computing rules are still the most important


Axiom: any duplicated code should become a module

Easier to design

Easier to read

Easier to comprehend

Easier to test

Easier to debug

Easier to change

Easier to reuse

= Reduced system cost

+ Increased developer productivity

+ Less time to market

+ Increased business satisfaction


Countries Pkg

Departments Pkg

Employees Pkg

getName

Web

Page?

updateAddress

pay


Part 2 - Skins

  • Defines basic application look & feel

  • An abstracted named extension of CSS files

  • No different from other web solutions, except:

    • All ADF components support skin styleclasses

    • At runtime the user can switch skins


Part 3 – Page Templates

  • Define a single common page template

  • Contains:

    • Static content shared by all consumers

    • Dynamic content injected by each consumer

    • Attributes

  • Define attributes:

    • Values passed from consumer

    • Displayed by page template

  • Reuse

    • By 1 or more pages or fragments

    • By 1 or more applications


Logo


Options

Logo


Options

Logo

Toolbar


Options

Logo

Toolbar

Main Content

Navigation


Part 4 – Declarative Components

  • Pages are made up of repetitive components

  • Easy for programmers to mess these up

  • Declarative components

    • Define a component group

    • Reuse throughout your application

    • Parameter driven

    • Consistent look & feel & behaviour

    • Can be shared across applications too


Part 5 – The Killer Reuse Feature

These features are good

but they’re not revolutionary in web design

Here’s the feature that sets ADF above all other web frameworks


Business Analyst

Programmer

Images distributed under a free license from http://dryicons.com/ and http:/http://www.iconshock.com/


?

Business Analyst

Programmer

Images distributed under a free license from http://dryicons.com/ and http:/http://www.iconshock.com/


Business Analyst

Programmer

Images distributed under a free license from http://dryicons.com/ and http:/http://www.iconshock.com/


Task Flows


Mimic business processes


Has a unique name


Single entry point & multiple exit points


Supports transactions


Pages/Page Fragments


Named navigation rules


Routers based on decisions


Method calls


Parameters in/out


~Functions


Task Flow Benefits

  • Design focuses on processes, not pages

  • Team composition

  • Easier re-architecture

  • Reusable

    • Across 1 application or many

    • In other Oracle solutions (eg. WebCenter)

  • Wizards/trains

  • Reentrant

  • Multiple transactions

  • Portlets


SAGE Computing Services

Customised Oracle Training Workshops and Consulting

JDeveloper ADF - The Real BusinessExperience

Discussion

www.sagecomputing.com.au

[email protected]

[email protected]

Chris Muir

Penny Cookson


  • Login