万本电子书0元读

万本电子书0元读

顶部广告

Oracle ADF 11gR2 Development Beginner's Guide电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Vinod Krishnan

出  版  社:Packt Publishing

出版时间:2013-04-25

字       数:223.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
"Oracle ADF 11gR2 Development Beginner's Guide" will cover the basics of Oracle ADF 11g development and will then work through more complex topics as the reader gains more skills. This book will follow a tutorial approach with the content and tasks getting more advanced throughout. This book is intended for beginners who know a little about Java programming and would like to learn how to develop rich web applications using the Oracle Application Development Framework.
目录展开

Oracle ADF 11gR2 Development Beginner's Guide

Table of Contents

Oracle ADF 11gR2 Development Beginner's Guide

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Installing and Configuring JDeveloper IDE

System requirements for Windows

Installing JDeveloper

Time for action – downloading the installer

What just happened?

Have a go hero – researching the optional components for JDeveloper

Studio edition

Time for action – installing JDeveloper Studio Edition

What just happened?

Have a go hero – check the folder structure of JDeveloper

Time for action – launching JDeveloper for the first time

What just happened?

Have a go hero – have fun with the welcome screen

Knowing the start-up flags/parameters

Time for action – setting the start-up options

What just happened?

Have a go hero – more options

Setting up the user directory (System directory)

Have a go hero – look for other files in the system folder

Working with IDE configuration files

Have a go hero – look for other configuration files

Knowing the roles

Have a go hero – explore the IDE

Getting familiar with the IDE

Setting the preferences

Knowing the IDE components

Time for action – opening the sample application

What just happened?

Application Navigator

Have a go hero – exploring the Application menu

Have a go hero – exploring the projects pane

Application Resources

Have a go hero – explore Application Resources

Data Controls palette

Recently Opened Files

Structure window

Have a go hero – identify the structure of the file

Database Navigator

The Resource palette

Time for action – creating a catalog

What just happened?

The Component palette

Have a go hero – components available for IDE

Run Manager

The Log window

Code editor

Code editor views

Property Inspector

Have a go hero – code editor and Property Inspector

Pop quiz

Summary

2. Getting Started with ADF

Model-View-Controller

How ADF implements MVC

The ADF architecture

Creating a simple application in ADF

ADF development practice

Sample application – employee directory application

Time for action – creating the application workspace

What just happened?

Have a go hero – analyze the application directory

Planning your application

Connect to a database

Time for action – setting up the database tables

What just happened?

Time for action – creating a database connection

Have a go hero – run some queries

Build business services

Accessing the project properties

Time for action – creating the business components

What just happened?

Have a go hero – open and analyze the business components

Running the AM tester

Exposing data to the UI layer

Time for action – bind data to the UI components

What just happened?

Have a go hero – analyze the artifacts

Time for action – running the application

What just happened?

Have a go hero – find out where the application is running from

Pop quiz

Summary

3. Understanding the Model Layer

ADF business components

What is an entity object?

Time for action – checking the attributes of an entity object

What just happened?

Have a go hero – check the column mappings

Time for action – creating an entity object for DEPT table

What just happened?

Have a go hero – set the primary key for the EmpEO.xml file

Why association?

Time for action – creating an association between EmpEO and DeptEO objects

What just happened?

Have a go hero – drag-and-drop components

About the view object

Types of view object

Time for action – creating an entity-based view object

What just happened?

Importance of a view link

Time for action – creating a view link between EmpVO and DeptVO

What just happened?

Have a go hero – drag-and-drop remaining components

What is an application module?

Time for action – creating an application module

What just happened?

Time for action – adding the view link to the application module

What just happened?

Business components in action

Time for action – running the application module

What just happened?

Have a go hero – play with the AM tester for a while

Options for the business components

Entity object

General

Alternate key

Tuning

Security

Business Logic Group

Attributes

Details

UI Hints

Validation Rule

Security

Dependencies

Custom Properties

Business Rules

Java

Business Events

View Accessor

Association

Relationship

View Object

General

Tuning

Entity Objects

Attributes

List of Values

Query

Bind Variable

View Criteria

Pop quiz

Summary

4. Validating and Using the Model Data

Declarative validation

Knowing the lifecycle of an entity object

Types of validation

Entity-level validation

Attribute-level validation

Transaction-level validation

Built-in declarative validators

Collection validator

Time for action – adding a collection validator for the DeptEO file

Adding the validation

Specifying the execution rule

Displaying the error message

What just happened?

The Compare validator

The Key Exists validator

The Length validator

The List validator

The Method validator

The Range validator

The Regular Expression validator

The Script validator

The UniqueKey validator

Time for action – creating an alternate key for DeptEO

What just happened?

Have a go hero – compare the attributes

Groovy expression

Setting a default value

Time for action – setting a default salary for employees

What just happened?

Have a go hero – set some default values for other attributes

Validation execution

Some commonly used expressions

Time for action – adding a script expression

What just happened?

Have a go hero – try more features of Groovy expressions

Learning about APIs

Generating an entity implementation class

Java classes in entity objects

Time for action – generating a Java API for DeptEO

What just happened?

Classes for view objects

Application module API

Time for action – learning to override a method

What just happened?

Have a go hero – more on programming using APIs

Managing transactions

Configuring transactions

Time for action – creating configurations

What just happened?

Have a go hero – explore the bc4j.xcfg file

Exposing data

Time for action – exposing a method using the client interface

What just happened?

Pop quiz

Summary

5. Binding the Data

ADF model layer

Data Controls palette

Data control

The view object collection

Attributes

Operations

Methods

Return

Parameters

View criteria

Time for action – adding a Commit button to the UI page

What just happened?

Have a go hero – inserting the records

Working with the data control layer and binding

Time for action – accessing the page definition file

What just happened?

Creating the bindings manually

Time for action – creating page definition bindings

What just happened?

Adding executables

accessorIterator

invokeAction

iterator

page

searchRegion

shuttleRegion

Pop quiz

Summary

6. Displaying the Data

Creating a page

Knowing the page template

Oracle Three Column Layout

Oracle dynamic tabs shell

Time for action – creating the page template

What just happened?

Have a go hero – adding attributes to the template

Creating the page with the template

Time for action – creating the dept.jspx file

What just happened?

Have a go hero

Layout the page display

Time for action – creating the layout for the page

What just happened?

Knowing the UI components

Input components

af:form

af:inputText

af:inputDate

af:inputFile

af:selectOneChoice

af:selectOneRadio

af:selectBooleanCheckbox

Output components

af:outputText

af:message

Showing the message programmatically

af:outputFormatted

Layout components

af:panelGroupLayout

af:panelStretchLayout

af:panelGridLayout

af:panelFormLayout

af:panelHeader

Query components

af:query

Popup components

af:popup

af:dialog

Time for action – showing a popup to the user

What just happened?

Have a go hero

List of values components

af:inputComboboxListOfValues

Navigation components

af:commandbutton

af:commandLink

Menu components

af:menu

Table components

af:table

af:treeTable

Miscellaneous components

af:forEach

af:iterator

af:switcher

Data visualization components

Other tags

Have a go hero – working with the components

EL expression

Time for action – adding an EL expression

What just happened?

Partial page rendering

Have a go hero – completing the page

Pop quiz

Summary

7. Working with Navigation Flows

Task flows

Task flow types

Unbounded task flow

Bounded task flow

Time for action – adding a bounded task flow to EmpDirectoryApplication

What just happened?

Task flow components

Method call

Time for action – adding a method call activity

What just happened?

Have a go hero – explore the task flow

Router

Save Point Restore

Task Flow Call

Task Flow Return

Time for action – adding a Task Flow Return

What just happened?

Parent Action

URL View

View

Time for action – adding a View activity to the task flow

What just happened?

Control flow

Wild card

Task flow options

General

Visibility

Based on a template

Managed beans

Managed properties

Parameters

Time for action – passing parameters to a task flow

What just happened?

Have a go hero – explore the task flow

Behavior

Transactions

Task flow as a region

Time for action – adding a task flow as a region

What just happened?

ADF life cycle

Memory scopes

Relationships between the scopes

Pop quiz

Summary

8. Layout with Look and Feel

Skinning essentials

What is a skin?

Time for action – adding a skin file to the application

What just happened?

Skin selectors

Pseudo classes in the ADF skinning framework

Using the skin editor

Time for action – creating an ADF skin using the skin editor IDE

What just happened?

Extended skins

Style classes

Global selector aliases

Faces component selectors

Applying skins

Deploying skins

Time for action – deploying the skin file

What just happened?

Pop quiz

Summary

9. Implementing Security

Introduction to security

Basic security

Time for action – implementing basic security

What just happened?

web.xml

weblogic.xml

adf-config.xml

jps-config.xml

jazn-data.xml

Applying security permissions

Security for business objects

Security for task flows and page-related files

Time for action – adding permissions

What just happened?

Have a go hero – checking options for authentication in the Security wizard

Creating a login page

Time for action – creating a login page

What just happened?

Creating roles and groups

Time for action – creating roles and assignments

What just happened?

Have a go hero – assigning different application roles to users

Disabling ADF security

Time for action – disabling security for ADF applications

What just happened?

Pop quiz

Summary

10. Deploying the ADF Application

ADF application deployment

Overview

Preparing for deployment

Connection

Deployment profiles

Time for action – creating the deployment profile

What just happened?

Have a go hero – analyze the deployment profile configurations

MDS configuration

Deployment descriptors

web.xml

weblogic.xml

weblogic-application.xml

Security

jazn-data.xml

Data source

Deployment to the WebLogic server

Integrated server

Time for action – creating a default domain for integrated server

What just happened?

Time for action – deployment to integrated server

What just happened?

Have a go hero

Standalone server

Time for action – deploying to the standalone server

What just happened?

Pop quiz

Summary

11. Advanced Features of ADF

Advanced topics on entity objects

Tuning

Custom properties

Property sets

A resource bundle

Business logic groups

Domain

The Custom validation rule

Custom error messages

Advanced topics on view objects

Avoid getRowCount, getEstimatedRowCount

Working with Rowsets

List of values

Time for action – creating a list of values of a department

What just happened?

UI categories

Application module state management

Complex data controls

Complex task flows

Contextual events

Time for action – publishing an event and subscribing it

What just happened?

Complex usage of a managed bean

Debugging the application

Debugging practices

Exception handling

Debugging the lifecycle

The Metadata Services framework

Customization layers

Customization classes

Seeded customization

Runtime customization

The Active Data Services framework

The ADS framework

Modes of data transport

WebLogic server configurations

Domain

Servers

Deployments

The Security realm

Data sources

Diagnostics

Creating an extension

The extension.xml file

Time for action – creating and running an extension

What just happened?

Pop quiz

Summary

Pop Quiz Answers

Chapter 1, Installing and Configuring JDeveloper IDE

Pop quiz

Chapter 2, Getting Started with ADF

Pop quiz

Chapter 3, Understanding the Model Layer

Pop quiz

Chapter 4, Validating and Using the Model Data

Pop quiz

Chapter 5, Binding the Data

Pop quiz

Chapter 6, Displaying the Data

Pop quiz

Chapter 7, Working With Navigation Flows

Pop quiz

Chapter 8, Layout With Look and Feel

Pop quiz

Chapter 9, Implementing Security

Pop quiz

Chapter 10, Deploying the ADF Application

Pop quiz

Chapter 11, Advanced Features of ADF

Pop quiz

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部