Você está na página 1de 30


Introduction to Oracle Forms Developer
And Oracle Forms Services

* -:

-1 . Oracle10G
-2 . Oracle10G Application Server
-3 .
-4 .
-5 . Forms
-6 . Forms

. Form

. Forms 10G

Tools .
Oracle Developer
Forms .


: Oracle 10G Database -1

. Image XmlSpread SheetsExcel

: Oracle 10G Application Server -2

. Business IntelligencePortalWirelessJava
Oracle10G Application Server
Forms Application Server
Oracle10G Application Server Service
Forms .

: Oracle10G Developer Suite -3

oracle 6i oracle10G
.Web Form Builder Design
Forms .

Oracle application server Architecture

Oracle application server :

:Communication Service

:Application Run time Services


:System Services
. J2EE

:Management Service


:Connectivity Services


Oracle10G Application Server :

Oracle Forms Service

Service Application Server

Service Forms Forms
. Service
Forms .
Database Application :
Client Tier .1

Web Browser
Application Forms .

Middle Tier .2
Forms Application
.Application Server

Database Tier .3 Database

Application Server

:Forms Service
User Forms Application
Client Tier
Web Browser JInitiator
Software Java Applet Code
Form . Code
Forms Service Java Applet
Forms Web Browser
Java . Application

Oracle Forms Developer

Forms Developer Developer Suite


Forms Builder Components

:Object Navigator
Form Builder
Tree Form Builder Node
Tree + :
). (Object Libraries,PL/SQL Libraries,Form,Menu
Built in Package
Package .
Database Object Object

Text Item Object

Object Navigator Icon
Forward and Backward Searches
Object Navigator .
:Property Palette
Object Navigator
Property Palette Property
Text Item
Property Palette
Object F4 :

:Layout Editor
Design Interface
Property Palette
:PL/SQL Editor
Code Forms
PL/SQL Editor
Item F11 :

Using Online Help System

Menu Help Online Help

Tab :

:Contents Forms10G
Built in :Index
Forms Built in
Text Item Search
Built in Built in
). (Procedure ,Function,Package,System Variable

. Forms :Search
Running a Forms
Developer Application

-1 Runtime .
-2 .Forms
-4 .DML
-5 Error .

Forms Three Tiers

. Application Server
DML Interface Application
Action . Database
Forms URL
Web Browser
Forms Service HTML file
Java Applet . Java Applet
Forms .
URL Form -1
Web Browser .Web Server
HTTP OC4J Request Client -2
.Forms Servlet
Forms Servlet HTML page -3
.Form Session
HTTP OC4J Client Tier -4
Java Applet
Java Applet Client
Client Tier Java Applet -5
Forms Listener Servlet Session
Forms Runtime Engine
URL Form
Forms Listener Forms Runtime Engine -6
Connection .
user interface Forms Applet -7
OC4J HTTP Forms listener Servlet -8
.Runtime Engine Forms Applets

Forms Servlet

Java Servlet Forms Servlet

: HTML File
.Forms Web configuration
.Forms Base HTML File
.Application URL parameters
Forms Client

Forms Client Java Applet
. Java Classes

The Forms Runtime Engine

Forms Listener Forms Runtime Engine

. Forms Listener Servlet .Servlet
Forms Runtime Engine
Code Forms Functionality Application Logic
Client Tier Action
. Database Tier

Oracle Developer Environment Variable

Modules Oracle Developer

(Forms, Menus, Libraries)
App Server Path Modules
. Modules
Local Regedit Start Menu Run
File Oracle Software Machine
Text File FORMS90_PATH
Directory Path ( );( Simi Colon )
. Modules

?What is the Default Menu

Menu Forms
Form Menu.
Default menu
Default menu user Form
user menu
menu -:
-1 Data .Block
-2 .Save
-3 . Execute query
-4 Record . Record
.help -5
What is the Console?
Item Message Error Message

1- prompt
2- text item
3- boilerplate graphics
4- check boxes
5- boiler plate text
6- display items
7- list item
8- push buttons
9- image item
10- radio group
1- tree
2- chart items
3- custom item

Record Record Block
Block Default Menu Icons
Forms :

Action Keyboard
Key Help :

Keyboard :
-1 Block Record . Item
-2 .Execute Query
-3 Record . Record
-4 . Help
:Enter-Query Mode
Form Condition

Enter-query Block Block
Form DML
. Block
Record Record.
Normal Node Form

Block Record Record
. Form
DML . Commit

Displaying errors
Error Runtime Description
Error ) (Menu
Error Display Error Error
. Error
Record Record PK
Action Error Pk FK
Error Menu
. Error
Working in the Forms
Developer Environment

Application :Forms
File ( ..Block,Canvas,Item)

Form :Menus
.Mmb,Mmx File

File Program Unit :PL/SQL libarary


Form Object :Object Libarary

( .Trigger, Visual attribute, Alert)
.Olb File

:Block Item
Form Block
Module Block
Module Item
Item Block.

:Canvas Items
User Interface
Items Block
Canvas Block A
Items Canvas2
:Navigation in a form module
) Form (Run Cursor
Items Navigation Item
Canvas .Cursor Item
Cursor Property
Block .Items

Types of Block

:Data Block
* Data Block
Items Items
* Block Constraint
* Items DML
).(Insert, Update, Delate
:Control Block
* Block
Items Block
Items Button
.Form Item

Relationship Data Blocks

) (One to Many Primary Key Block
Foreign Key Block.
Block PK Master Block
FK .Details

Master Block Block

PK .Single-Record Data Block

Details Block Block

Master Block Block FK PK .Master

) (Block,Canvas,Frame,Trigger,Program Unit Blocks
.Data Base
)Starting (OC4J

Form .
Application Server ) (OC4J
Service Application Server Server
Network .

Working with Data Block and Frame

.property Palette -1
.property palette -2
.Block -3
Property .Frame -4
.Block Manual -5
Block . -6

Property Palette Object

Object F4 .Object
Property Palette Object :

:Find Filed Property.

:Search Backward Property.
:Search Forward . Property
:Property Value .Property
:Help Help Object .F1
:Property Name .Property
:Text Field More Button
.Text Field
:Lov Window
Item Lov
:Pop-up List List

Property :Property
:Changed Property .
:Default Property .
:Inherited Property .Property Class
:Overridden Property Property Class
:Visual Attributes

Visual Attribute :
-1 Object Navigator .Visual Attribute
-2 Property
-3 Property Item
Visual Attribute .
. Block Block

:Navigation Style
.Record :Same Record -1
Record :Change Record-2
. Block Block :Change Data Block-3

. Block :Previous Navigation Data Block

. Block :Next Navigation Data Block
:Current Record Visual Attribute
.Block Record Visual Attribute
:Query Array Size
. Record
:Number of Record Buffered
.Buffer Record
:Number of Record Displayed
.Canvas Record
:Query All Record
.Calculation Item
:Record Orientation
.Horizontal Vertical Record
:Single Record
.Record Record
:Data Base Data Block
. Block Yes
:Enforce Primary Key
.Block Primary Key Block
:Query/Insert/Update/Delete allowed
:Query Data Source Type
.(Table, Procedure,) Block
:Query Data Source Name
:Query Data Source Column
:Query Data Source Argument
.Procedure Parameters
:Where Clause
. Condition
:Order By Clause

:Show Scroll Bar

.Block Scroll Bar
:Show Bar Canvas
.Canvas Scroll Bar
:Scroll Bar Orientation
.(Vertical , Horizontal) Scroll Bar
:Scroll Bar X/Y Position
.Scroll Bar
:Scroll Bar Wight /Height
.Scroll Bar
:Layout Data Block
.Block Frame
:Update Layout
.Manual Frame
:Layout Style
.Tabular Form
:Distance Between Record
:X/Y Position
:Wight / Height