17
A Guide to Fusion Development A Guide to Fusion Development with Jdeveloper 11g with Jdeveloper 11g Session 1 Presenter: Zeeshan Baig

A guide to ADF fusion development

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: A guide to ADF fusion development

A Guide to Fusion Development A Guide to Fusion Development with Jdeveloper 11gwith Jdeveloper 11g

Session 1 Presenter: Zeeshan Baig

Page 2: A guide to ADF fusion development

Session 1 Session 1 -- AgendaAgenda� Overview of Fusion� Overview of SOA and Web-services� History of Web development� Oracle ADF Overview �ADF Architecture �Which Languages do I need to know?�Which Languages do I need to know?� Getting familiar with Jdeveloper 11g IDE� How to Learn ADF?� Demo:

� Quick Master detail application� Model Layer� Controller Layer� Presentation Layer

Page 3: A guide to ADF fusion development

Overview of FusionOverview of FusionWhat is Fusion?

� Oracle’s effort to put all standard and integrated technologies under one umbrella� Oracle Fusion middleware

� Modern standard based technologies� Major components� Major components

� SOA Suite�WebLogic Server� Oracle ADF / JDeveloper

Oracle Fusion applications� New Name for Oracle e-business suite� Developed in Oracle ADF

Page 4: A guide to ADF fusion development

Overview of SOA and WebOverview of SOA and Web--servicesservices

SOA (Service Oriented Architecture)� Provides reusability, agility, scalability,� Modern way to design applications � Follows some standards and Principles

Web-services�APIs that are accessed via HTTP� Communicates via Messages� Mainly classified into SOAP and REST� Provides Integration between different applications

Page 5: A guide to ADF fusion development

History of Web developmentHistory of Web development

CGI/Servlets Pure Java Code

Hard to write required to know

the HTTP complexities

JSP (Java Server Pages)

Java mixed with HTML

Complex and Hard to

maintain codeServer Pages) with HTML

maintain code

JSF (Java Server Faces)

Component based

Technology

Limited around 30

components

ADF FacesExtension to

JSF, with AJAX and JavaScript

up to 150 components

in 11g

Page 6: A guide to ADF fusion development

Oracle ADF OverviewOracle ADF Overview

�Application Development Framework�Web, Desktop and Mobile applications� Meta-data Framework� Based on JEE Standard� Extendable� Extendable� Follows MVC (Model View Controller) architecture

Main technologies�ADF BC (ADF Business Components)�ADF Controller �ADF Faces

Page 7: A guide to ADF fusion development

Oracle ADF Architecture Oracle ADF Architecture -- II

� Model� Represent Business data and Business logic

� Presentation Layer (View Layer) � Represent User Interface� Represent User Interface

� Controller� Define application flow� Execute UI events from View layer

Page 8: A guide to ADF fusion development

Oracle ADF Architecture Oracle ADF Architecture -- IIII

Model

• Represent Business data and Business logic

View

• Represent User Interface

Controller

• Define application flow• Execute UI events from

View layer

Page 9: A guide to ADF fusion development

Oracle ADF Architecture Oracle ADF Architecture -- IIIIII

Page 10: A guide to ADF fusion development

Languages need to knowLanguages need to knowLanguage Level of

knowledgeUsage

Java Intermediate For Custom logic coding

JavaScript Basic/None For User interaction functionality

XML Basic Syntaxfamiliarity

JSF is XML style languagefamiliarity

HTML Basic/None JDeveloper generates automatically but useful to know

Groovy Basic For Validation checks and attribute expressions

CSS Basic/None To Skin the application

Expression Language

Basic Supply data to components from properties or Method

Page 11: A guide to ADF fusion development

ADF Business Components (Model)ADF Business Components (Model)

� Model layer has 2 services layers� Data Control� Data Binding

� Resides Business logic� Handle business rules validations� Handle business rules validations� Main components

� Entity Objects: Works as a table, perform DMLs �View Objects: Think as a Database block and

Record Groups in Forms�Application Module: Exposed VOs to UI layer�Associations: Link between 2 or more EOs�View Links: Link between 2 or more VOs

Page 12: A guide to ADF fusion development

Binding Layer (Model)Binding Layer (Model)

Page 13: A guide to ADF fusion development

ADF Controller (Controller)ADF Controller (Controller)� It Controls the application flow and UI events� Flow defines using Task flows�Task flow types:

� Bounded Task flows : One entry point and zero or more exit points� Un-bounded Task flows: Usually application entry points callable from anywhere and are not-securedcallable from anywhere and are not-secured

�Task Flow components:�View: Is a JSF Page� Method: Any procedure or operation� Router: Navigation decider�Wildcard: To provide easy navigation between pages �Task flow call: To call another Task Flow� Return activity: Exit point for BTFs

Page 14: A guide to ADF fusion development

ADF Faces (ADF Faces (ViewControllerViewController))

� Provides standard look and feel UI Components�AJAX and JavaScript enabled� Partial page rendering (PPR)� Supports client side validations and convertors� Supports client side validations and convertors� Rendering Kits for Mobile, PDA devices�Accessibility and Multilingual support

Page 15: A guide to ADF fusion development

Jdeveloper the IDEJdeveloper the IDE

� Oracle’s tool for future development� Supports full development life cycle Design to deployment�Wizard driven means less code to write less chances of errors� One tool for all: Database, Desktop, Web, Mobile and more

� Provides cool features:� Provides cool features:�Wizards� Change Control (Subversion, CVS)� Code templates� Debugging, Profiling and Re-factoring� Code editors, Design view editors� Drag and Drop

Page 16: A guide to ADF fusion development

How to learn ADFHow to learn ADF

� Learn Java at least syntax familiarity� Online Cue Cards� Oracle Jdeveloper Handbook 11g� Fusion Developer Guide at OTN� Fusion Developer Guide at OTN�Web User Interface Guide at OTN� Discussion Forums at OTN� Blogs�YouTube

Page 17: A guide to ADF fusion development

� Demo

Demo timeDemo time