R12 Building OA Framework Applications

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 26

Copyright 2007, Oracle. All rights reserved.

R12 Building OA Framework Applications


Introduction to OA Framework
Copyright 2007, Oracle. All rights reserved. 1 - 2
Course Objectives
After completing this course, you should be able to do the
following:
Set-up your OA Framework development environment
Identify the concepts, architecture and components of OA
Framework applications
Create an OA Framework application that selects, inserts,
updates, and deletes records in an E-Business Suite
instance
Identify the processes and procedures of deploying OA
Framework applications into an E-Business Suite instance
Copyright 2007, Oracle. All rights reserved. 1 - 3
Lesson Objectives
After completing this lesson, you should be able to:
List the course objectives and agenda
Identify the architecture and components of OA Framework
applications
Copyright 2007, Oracle. All rights reserved. 1 - 4
Agenda Day 1
Introduction to OA Framework
Introduction to Model-View-Controller design pattern
Basics of the Model
Basics of the View
Basics of the Controller
Setting up your OA Framework development environment
Copyright 2007, Oracle. All rights reserved. 1 - 5
Agenda Day 2
Introduction to JDeveloper 10g with OA Extension
Lab: First OA Framework Page
OA Framework State Management
Implementing a Query and Drill-down
Lab: Implementing a Query and Drill-down
Copyright 2007, Oracle. All rights reserved. 1 - 6
Agenda Day 3
Implementing a Create
Lab: Implementing a Basic Create
Lab: Implementing Validations
Lab: Implementing Partial Page Rendering
Copyright 2007, Oracle. All rights reserved. 1 - 7
Agenda Day 4
Implementing a Delete
Implementing an Update
Lab: Implementing a Delete
Lab: Implementing a Basic Update
Lab: Implementing a Multi-page Update
Copyright 2007, Oracle. All rights reserved. 1 - 8
Agenda Day 5
Basic E-Business Suite Development Standards
Basics of E-Business Suite Security
Basics of E-Business Suite Deployment
Copyright 2007, Oracle. All rights reserved. 1 - 9
Important Terminology
Installation
Deployment
Configuration
Personalization
Extension
Customization
Copyright 2007, Oracle. All rights reserved. 1 - 10
Personalization vs. Extension
Personalization the ability to declaratively alter (in XML)
the pages UI to meet the business or user needs.
Extension the ability to programmatically (in Java) extend
the pages functionality.
Copyright 2007, Oracle. All rights reserved. 1 - 11
Architectural Components of OA Framework
Written in Java
Uses JDeveloper 10g with OA Extension
Uses the following components
Business Components for Java (BC4J)
User Interface XML (UIX)
Application Object Library for Java (AOL/J)
OA Framework
Metadata Services (MDS)
and other smaller contributors
Copyright 2007, Oracle. All rights reserved. 1 - 12
Why Java?
Object-oriented
Platform independent (Write Once Run Many)
Network ready
Secure
Robust
Industry-standard
Open source
Copyright 2007, Oracle. All rights reserved. 1 - 13
Foundations of Java Programming
Encapsulation
Inheritance
Polymorphism
Copyright 2007, Oracle. All rights reserved. 1 - 14
The Java Tech Stack for OA Framework
OA Framework
Java Core Spec.
J2SE API
J2EE API
MVC Design Pattern
Copyright 2007, Oracle. All rights reserved. 1 - 15
Oracle JDeveloper 10g
Development
UML
ADF
XML
Source control
Debug
Exchange
Database
HTML
Deployment
EJB
JSF
Copyright 2007, Oracle. All rights reserved. 1 - 16
Oracle JDeveloper 10g Components
Applications Navigator
and Structure window
Property Inspector
Component Palette
Code Editor
Copyright 2007, Oracle. All rights reserved. 1 - 17
Whats in BC4J?
BC4J is the M (Model) layer of the MVC pattern.
Includes the following basic BC4J components.
Application Modules (AMs)
Entity Objects (EOs)
View Objects (VOs)
and others
Includes additional capabilities.
Data binding
AM pooling and session management
Database transactions
Copyright 2007, Oracle. All rights reserved. 1 - 18
Whats in UIX?
UIX is part of the V (View) layer of the MVC pattern.
UIX underlies the OA Framework UI components.
Using both OA Framework and UIX allows OA Framework
applications to have a consistent E-Business Suite look and
feel.
Includes specific simple and complex UI components, like
the following:
Fields
Buttons
Tables
LOVs
and others
Copyright 2007, Oracle. All rights reserved. 1 - 19
Whats in AOL/J?
AOL/J is the layer that implements the common features
expected in an E-Business Suite application, like the
following:
Function security
Connection pooling
Flexfields
Profile options
Hierarchies
Online Help
Encryption
Thin Client Framework (TCF)
Copyright 2007, Oracle. All rights reserved. 1 - 20
Whats in OA Framework?
It is the programmatic glue which integrates these
technologies.
It provides consistent UI components to E-Business Suite
applications.
Additionally, it provides methods for the following
components:
Personalizations
Safe interfaces for access from both the Model (server)
and View (user interface) code.
Implementation of LAFs (Look and Feel)
Final rendering
Copyright 2007, Oracle. All rights reserved. 1 - 21
Whats in the Metadata Services?
OA Framework encourages the use of declarative objects.
The declarative objects are stored in XML.
XML has the advantage over Java in that it does not need to
be compiled to be used.
XML has limitations, and Java code is still needed to
overcome those limitations.
OA Framework stores most of the XML in the database. That
database is called, the metadata services (MDS), and
includes the following objects:
OA Framework Pages and Regions (PGs and RNs)
Personalizations
BC4J substitutions
Copyright 2007, Oracle. All rights reserved. 1 - 22
What is the MVC Design Pattern?

Controller
Model View
The view formats and
presents data from a
model to the user
The controller responds to
user actions and directs
application flow
The model encapsulates
underlying data and
business logic of the
application
Copyright 2007, Oracle. All rights reserved. 1 - 23
Why Do We Use MVC?
Model Business logic
encapsulated in Business
Components for Java view
objects and entity objects
View Common UIX-based
HTML components used
throughout Applications

Controller OA Controller
responds to user actions,
directs application flow
BC4J
UIX /
OA Extension
OA Controller
It provides a flexible architecture for applications that is more
easily programmed and managed over the complete
lifecycle.
Copyright 2007, Oracle. All rights reserved. 1 - 24
The OA Framework Architecture
Application Server Data Server
Browser
11i Data
Client
UIX
S
e
r
v
l
e
t

E
n
g
i
n
e

OA Controller
BC4J
OA Extension (MDS)
Metadata
Repository
Listener
Copyright 2007, Oracle. All rights reserved. 1 - 25
Additional Resources
Further reading:
OA Framework Developer's Guide: Anatomy of an OA
Framework Page
OA Framework Javadoc
Copyright 2007, Oracle. All rights reserved. 1 - 26
Summary
In this lesson, you should have learned how to:
List the course objectives and agenda.
Identify the architecture and components of OA Framework
applications.

You might also like