Professional Documents
Culture Documents
in JDeveloper 10g
Is it Oracle Forms
Developer Yet?
Peter Koletzke
Technical Director &
Principal Instructor
Moi
Vous
Forms development
1-2 years?
3-9 years?
More than 9 years?
Java development
1-2 years?
3-11 years?
More than 11 years?
JDeveloper
1-3 years?
More than 3 years?
10.1.3?
3
Agenda
Frameworks and ADF
What is JSF?
How does ADF Faces help?
Is it Oracle Forms yet?
Rumor: There is a really good book
about JDeveloper 10g for Forms
Developers coming out soon.
5
What is a Framework?
Prebuilt architecture for solving a particular
problem
Provides a key service
For example, Struts framework provides
control of page flow in a web application
Allows extensions
To replace or supplement functionality
6
Benefits of a Framework
Promises increased productivity through code
reuse
Prebuilt code supplies functionality you would have to
build yourself
For example, connection layer to the database through JDBC
Based on Model-View-Controller
J2EE design pattern
Note: See Aug 2004 NoCOUG
presentation for more about ADF.
ADF Architecture
View
View
Application Client
Swing
model
Web Client
Swing
visual
aspect
Swing
event
handlers
JSP
ADF UIX
ADF JClient
JSF
Controller
Controller
Struts
JSF
Model
Model
ADF Bindings
ADF Data Controls
Business
BusinessServices
Services
EJB Session
Beans
Web Services
ADF Business
Components
Java Classes
Business
BusinessServices
Services
EJB Session
Beans
Web Services
ADF Business
Components
Java Classes
Model
Model
ADF Bindings
ADF Data Controls
ADF Bindings
The method for accessing Model objects
12
Controller
Controller
Struts
JSF
View
View
Application Client
Swing
model
Swing
event
handlers
Swing
visual
aspect
Web Client
ADF UIX
JSP
ADF JClient
JSF
Web client
JavaServer Pages (JSP) technology
J2EE standard, light-client, tag-based
interface
ADF UIX
Oracle-specific, XML-based interface
used by E-Business Suite applications
JavaServer
Faces (JSF)
Java
community
effort
J2EE 1.5 (soon)
14
Agenda
Frameworks and ADF
What is JSF?
How does ADF Faces help?
Is it Oracle Forms yet?
15
Sartor Resartus
16
What is JSF?
JavaServer Faces technology
New technology (ratified JCP in 5/2004)
Not part of J2EE yet
Offers reference implementation
JSF Features
Rich component set
Core library for application tasks
HTML library for HTML tags, forms
JSP tag library included
Can be implemented in other languages
Event-driven
Events on the component level
Think Forms triggers
18
JSF Code
Can embed JSF in a JSP page (.jsp file)
JSP tags and HTML tags
19
JSF Servlet
HTML
Deptapp.class
21
Agenda
Frameworks and ADF
What is JSF?
How does ADF Faces help?
Is it Oracle Forms yet?
22
ADF Faces
Oracle tag libraries
Released to MyFaces open source project in Jan.
Available in JDeveloper 10.1.3
LOV item
Read-only
item
Button
Tip item
Pulldown item
Shuttle
Tree
26
Editable table
Search form
Teeth
27
a cleaner user
interface!
Support in JDeveloper
Drag and drop automatic binding
Property settings
Expression builders
28
Development Method
1. Create application workspace
2. Create Business Services and Model
project
3. Create View and Controller project
4. Test and debug
Use the same tools for
development regardless of
technology choices
Demo
29
Agenda
Frameworks and ADF
What is JSF?
How does ADF Faces help?
Is it Oracle Forms yet?
30
Short Answer
31
Other Comparisons
Development experience
Forms = declarative and visual with some PL/SQL
ADF Faces = declarative and visual with some
Java (and Expression Language)
Future
Forms future is solid support to 2012
Functionally stable, no new features
Still part of Oracle Applications (E-Business Suite)
It is a Suggested Path
JDeveloper is a J2EE tool
Supports any style of J2EE code
Less need to think about plumbing
How to choose?
34
36
Summary
Frameworks help development
Forms is a framework
Usually, not so easy for J2EE applications
Nearly-equal productivity
Extremely rich component set
Support for declarative and visual programming
Requires a bit of ramp up time
Its J2EE-compliant and you still
need a J2EE architect
37
Designer
Handbook
JDeveloper 3
Handbook
Developer
Advanced
Forms & Reports
ORACLE9i
JDeveloper
Handbook
Coming
soon
ORACLE
JDeveloper 10g
Handbook
http://ourworld.compuserve.com/
homepages/Peter_Koletzke
http://www.quovera.com
Founded in 1995 as Millennia Vision
Corp.
Profitable for 7+ years without outside
funding
Consultants each have 10+ years
industry experience
Strong High-Tech industry background
200+ clients/300+ projects
JDeveloper Partner
More technical white papers and
presentations on the web site
38