1.1 认识OAF

  • Upload
    soiree

  • View
    221

  • Download
    0

Embed Size (px)

Citation preview

  • 8/12/2019 1.1 OAF

    1/35

    Oracle Applications Framework(OAF)

    Overview & Architecture

  • 8/12/2019 1.1 OAF

    2/35

    Topics

    OA Framework Overview OA Framework MVC Architecture

    Personalization and Extensibility

  • 8/12/2019 1.1 OAF

    3/35

  • 8/12/2019 1.1 OAF

    4/35

    Introduction to OA Framework

    Oracle Applications development anddeployment platform

    100% Java & XML, middle-tier applicationframework and services for the rapiddevelopment & deployment of HTMLbased applications

    Ebs 11.5.7 11.5.10

  • 8/12/2019 1.1 OAF

    5/35

    OA Framework Key Features

    Declarative application development Rapid development environment

    Consistent and compelling UI Built-in durable personalizations Extensible UI and business logic

    100% Java and XML on Oracle platform Commitment to MVC architecture

  • 8/12/2019 1.1 OAF

    6/35

    Oracle Jdeveloper with OAF

    Since 1997 . Borland JBuilder Java develop IDE

    Get Jdeveloper 9.0.3.5 fromMetalink JDeveloper is building a

    productized interface fordeveloping in the Frameworkstack

  • 8/12/2019 1.1 OAF

    7/35

    File Naming Package

    oracle.apps..lov.server : LOV-related Vos oracle.apps..lov.webui : LOV-related

    Controller

    oracle.apps..poplist.server : Poplist-related VOS

    oracle.apps..attributesets : Attribute set

    xml files oracle.apps...webui :

    Controller XXCO.java and PG and RN .xml files

  • 8/12/2019 1.1 OAF

    8/35

    File Naming Abbreviations

    AM: Application Module VO: View Object VL: View Link

    EO: Entity Object AO: Association Object PG: Page RN: Region

    CO: Controller

    TL: Translation VAM: Validation AM VVO: Validation VO

    PVO: Property VO SVO: Service VO SAM: Service AM

  • 8/12/2019 1.1 OAF

    9/35

    OA Framework MVC Architecture

    MVC Architecture overview How it works

    Working process

  • 8/12/2019 1.1 OAF

    10/35

    MVC Architecture overview

    Metadata-driven UI components, flowsand business logic

    World class IDE Productivity wizards Easier, faster product maintenance and

    customizations J2EE-based implementation

  • 8/12/2019 1.1 OAF

    11/35

    Model-View-Controller (MVC) Architecture

  • 8/12/2019 1.1 OAF

    12/35

    OA Framework Architecture

  • 8/12/2019 1.1 OAF

    13/35

    Layered Reusability

    Each layer only knowsabout the layers below it.

    This encapsulation allowsreuse at any of the layerboundaries.

  • 8/12/2019 1.1 OAF

    14/35

    OA Framework-Based Page: TheView

  • 8/12/2019 1.1 OAF

    15/35

    The View Under the Surface

  • 8/12/2019 1.1 OAF

    16/35

    The View - Regions

    A region is a reusable container that holds items A region can contain

    Buttons

    Fields Images Other regions Headers and so on

    Regions can inherit properties from otherregions

  • 8/12/2019 1.1 OAF

    17/35

    The View - How It Works

  • 8/12/2019 1.1 OAF

    18/35

    The Controller User Interaction

  • 8/12/2019 1.1 OAF

    19/35

    The Model Data Processing

  • 8/12/2019 1.1 OAF

    20/35

    Model Services in BC4J

    Middle-tier object-oriented data model Fine-tuned DML operations

    Reusable objects Reusable business logic Passivation Services

    Extensible!

  • 8/12/2019 1.1 OAF

    21/35

    Summary

    MVC Architecture overview How it works

    Working process

  • 8/12/2019 1.1 OAF

    22/35

    Personalization and Extensibility

    Personalization Declaratively tailoring UI look-and-feel, layout

    or visibility of built-in content to suit a

    business need or a user preference Use the Personalization Framework Extension

    Extending the functionality of an application: Adding new content or business logic Extending/overriding existing business logic

    Use Oracle9i JDeveloper

  • 8/12/2019 1.1 OAF

    23/35

    Personalization

    Personalization Framework UI definition overlays Saved views Attribute sets (future)

    Cascading stylesheet (css)

    Menus & Responsibilities FND Messages, Lookups, etc.

  • 8/12/2019 1.1 OAF

    24/35

    User Interface Personalization

    Personalize by clicking a link onthe runtime screen (nodevelopment tool needed)

    Personalizations are overlaidon top of base productmetadata at runtime

  • 8/12/2019 1.1 OAF

    25/35

    Example - original

  • 8/12/2019 1.1 OAF

    26/35

    Example - Add & Set

  • 8/12/2019 1.1 OAF

    27/35

    Example - See New Link

  • 8/12/2019 1.1 OAF

    28/35

    Example modify column prompt

  • 8/12/2019 1.1 OAF

    29/35

    Extensibility

    Flexfields Business Events

    Extending & Creating Business Objects New page New attribute Extend/Override defaults & validations

  • 8/12/2019 1.1 OAF

    30/35

    Adding Persistent Attributes

    (a) Extend the underlyingView Object to include morecolumns or to add anadditional table

    (b) Use PersonalizationFramework to exposecolumns into the UI

  • 8/12/2019 1.1 OAF

    31/35

    Extending Business Logic

  • 8/12/2019 1.1 OAF

    32/35

    Analyzing the Page Objects

    Use the About this Page link to get lots ofinformation

    Diagnostics mode must be enabled

    Get page name and location Version numbers BC4J object names

    And more Keep Diagnostics turned off in production

    systems

  • 8/12/2019 1.1 OAF

    33/35

    About this Page

  • 8/12/2019 1.1 OAF

    34/35

    Summary

    Personalization Extensibility

    Analyzing the Page Objects

  • 8/12/2019 1.1 OAF

    35/35