Jdeveloper adf the real business experience
Download
1 / 130

JDeveloper ADF - The Real Business Experience - PowerPoint PPT Presentation


  • 74 Views
  • Uploaded on

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

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' JDeveloper ADF - The Real Business Experience' - ovidio


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
Jdeveloper adf the real business experience

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



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




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



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





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? to ADF and acted


Custom developments vary in size and complexity to ADF and acted

Small and complex

Small and simple


Custom developments vary in size and complexity to ADF and acted

Sophisticated and flashy

Practical




Recommendation to ADF and acted

Then build a well architected and practical solution

Start small and learn


Forms Modernisation to ADF and acted

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
.Net vs ADF - “Title Fight” to ADF and acted

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 to ADF and actedPerceived 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:// to ADF and actedwww.oracle.com/us/corporate/customers/dept-of-treasury-5-weblogic-ss-349829.pdf

Migrate Forms to 11g Weblogic Server


What fmw was adopted
What FMW was adopted? to ADF and acted

  • ADF 11.1.1.4.0

  • WLS

  • Hudson

  • MDS

  • WebCenter

  • SOA/BPM

  • IDM


ADF Training and to ADF and actedConsulting



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


Issues for Any New Jdeveloper ADF Projecthttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

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 requirementshttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

  • Oracle Forms

  • Lots of content

  • Multiple tabs

  • All strung together

  • in a network


For Business Analysts determining requirementshttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

  • Jdeveloper ADF

  • Well designed workflows


For Business Analysts determining requirementshttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

  • Jdeveloper ADF

  • Simple, cleaner content on data entry pages


For Business Analysts determining requirementshttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

  • Jdeveloper ADF

  • Summary screens can have lots of content

  • Use UI components like Accordions


For Business Analysts determining requirementshttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

  • Jdeveloper ADF

  • More sophisticated searching options than Forms


For Business Analysts determining requirementshttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

  • Jdeveloper ADF

  • Are you going to use the UI Shell?


Issues for Any New Jdeveloper ADF Projecthttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

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 Projecthttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

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 Projecthttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

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 Projecthttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

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 http://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdfConsulting


Jdeveloper adf the real business experience1

SAGE Computing Serviceshttp://www.oracle.com/technetwork/developer-tools/jdev/fhog-uin-157767.pdf

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.pdfhttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


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

Legacy Forms applications will remain an important part of many solutions

Interoperate

Upgrade


Integration With Legacy Formshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

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 Middlewarehttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

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 Frameworkhttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


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

  • Industry Standards (Java, XML etc)

  • aka Platform Independence

  • Pluggable

  • Run on any JEE compliant application server

  • Not locked into 1 vendor


Technologies

ADF Faces RChttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

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 http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdfProgrammers

Navigator

Property Palette

Editor


Support for Forms http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdfProgrammers

Property Palette

Component Palette

Navigator

Editor

Property Palette

Structure Window

Message Log


Database centric model layer
Database Centric – Model Layerhttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

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/SQLhttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

Java Wrapper

PL/SQL Packages

Java code


Preserve Your PL/SQLhttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Visual declarative metadata driven
Visual & Declarative (metadata driven)http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

  • 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 Drophttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Graph/Gauges/DVT/Drag n Drophttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Support for http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdfCode

Source


Support for http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdfCode

Property Palette


Not Limited - Supports Custom Codehttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

Groovy Scripting

Java


Component Based User Interfacehttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

11.1.1.4 - JSF 1.2

11.1.2 - JSF 2.0

Expression language (EL)


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


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


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


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


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


Skills So Farhttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

Groovy

Java

EL

CSS

PL/SQL

JavaScript


And Before http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdfWe Get to Build

Application structure

Security

Deployment

Technical Architecture Design

Templates

Reuse

Version Control

Team Development

Library management


What About Managing the Environmenthttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

Subversion

Shared libraries

Multiple developers

Multiple versions


What About Managing the Environmenthttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

Hudson

Continuous integration

Ant

Build tool

JUnit

Unit testing

Project build, reporting and documentation

Maven


What About Managing the Environmenthttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

Oracle Team Productivity Centre

Chat

Team management

Dashboard

Integration with third party products


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

Can I deploy ADF applications on mobile devices?


Oracle ADF Mobilehttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

  • Browser

  • Native


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

  • Uses Apache MyFaces Trinidad components

  • Uses JSF page flows

  • Blackberry, Windows mobile, iPhone Safari, Nokia S60


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

  • 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 Developerhttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

  • ADF Mobile Client Developer

  • Extension to Jdeveloper

  • Local database (SQLite)

  • Use disconnected

  • Data Synchronisation

  • Supports Blackberry and Windows Mobile


Oracle http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdfADF 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 Stepshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

  • Plan

  • Learn

  • Setup Environment

  • POC

  • Resource



  • Instead of thishttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


ADF Training and http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdfConsulting


Jdeveloper adf the real business experience2

SAGE Computing Serviceshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

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
Agendahttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

  • Part 1 Making use of Reuse

  • Part 2 Skins

  • Part 3 Page Templates

  • Part 4 Declarative Components

  • Part 5 The Killer Reuse Feature


Part 1 making use of reuse
Part 1 – Making use of Reusehttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

The old computing rules are still the most important


Axiom: any duplicated code should become a modulehttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

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 http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdfPkg

Departments Pkg

Employees Pkg

getName

Web

Page?

updateAddress

pay


Part 2 skins
Part 2 - Skinshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

  • 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
Part 3 – Page Templateshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

  • 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


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


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

Logo


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

Logo

Toolbar


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

Logo

Toolbar

Main Content

Navigation


Part 4 declarative components
Part 4 – Declarative Componentshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

  • 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
Part 5 – The Killer Reuse Featurehttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

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 Analysthttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

Programmer

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


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

Business Analyst

Programmer

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


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

Programmer

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


Task flows
Task Flowshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Mimic business processes
Mimic business processeshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Has a unique name
Has a unique namehttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Single entry point multiple exit points
Single entry point & multiple exit pointshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Supports transactions
Supports transactionshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Pages page fragments
Pages/Page Fragmentshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Named navigation rules
Named navigation ruleshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Routers based on decisions
Routers based on decisionshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Method calls
Method callshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Parameters in out
Parameters in/outhttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Functions
~Functionshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf


Task f low b enefits
Task http://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdfFlow 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


Jdeveloper adf the real business experience3

SAGE Computing Serviceshttp://www.oracle.com/us/support/library/lifetime-support-middleware-069163.pdf

Customised Oracle Training Workshops and Consulting

JDeveloper ADF - The Real BusinessExperience

Discussion

www.sagecomputing.com.au

[email protected]

[email protected]

Chris Muir

Penny Cookson


ad