the five ways of building oracle applications
TRANSCRIPT
The Five Waysof building Oracle
Applications
AMIS 25 Beyond the Horizon 2016Sten E. Vesterli [email protected]
OverviewADF Business ComponentsADF FacesADF SwingApplication ExpressOracle FormsJavaScript Extension ToolkitPL/SQLOracle ReportsSQL Updates at
www.oratoolwatch.com
TIOBE index Apr 2016
TIOBE.com
Who am I?• Name: Sten Vesterli• Mission: To make the world a better
place by helping people use appropriate information technology to achieve their goals
• 20 years of Oracle experience• Oracle ACE Director since 2007• Gave my first “5 ways” presentation
in 1998
Books
Is your application data-driven or UI-driven?
Two Types of Applications
• A data-driven application – starts with data design– derives the user interface from the data
• A UI-driven application– Starts with workflows and tasks– Build UI, build data structure, connect
them
User Interface
Data
Data-driven
User Interface
Data
UI-driven
User Interface
Data
Data-driven
User Interface
Data
UI-driven
UI Facade
The Five Ways of Building Oracle Applications
• Forms• Application Express (APEX)• Application Development Framework
(ADF)• JavaScript Extension Toolkit (JET)• Mobile Application Framework (MAF)
Oracle Forms Statement of Direction (Doc ID 2009262.1)
“Oracle continues its commitment to Oracle Forms. A new release is being planned and new features and other improvements are currently being reviewed.”
... But: “THIS DOCUMENT IN ANY FORM, SOFTWARE OR PRINTED MATTER, CONTAINS PROPRIETARY INFORMATION THAT IS THE EXCLUSIVE PROPERTY OF ORACLE. YOUR ACCESS TO AND USE OF THIS CONFIDENTIAL MATERIAL IS SUBJECT TO THE TERMS AND CONDITIONS OF YOUR ORACLE SOFTWARE LICENSE AND SERVICE AGREEMENT, WHICH HAS BEEN EXECUTED AND WITH WHICH YOU AGREE TO COMPLY. THIS DOCUMENT AND INFORMATION CONTAINED HEREIN MAY NOT BE DISCLOSED, COPIED, REPRODUCED OR DISTRIBUTED TO ANYONE OUTSIDE ORACLE WITHOUT PRIOR WRITTEN CONSENT OF ORACLE. THIS DOCUMENT IS NOT PART OF YOUR LICENSE AGREEMENT NOR CAN IT BE INCORPORATED INTO ANY CONTRACTUAL AGREEMENT WITH ORACLE OR ITS SUBSIDIARIES OR AFFILIATES. THIS DOCUMENT IS FOR INFORMATIONAL PURPOSES ONLY AND IS INTENDED SOLELY TO ASSIST YOU IN PLANNING FOR THE IMPLEMENTATION AND UPGRADE OF THE PRODUCT FEATURES DESCRIBED. IT IS NOT A COMMITMENT TO DELIVER ANY MATERIAL, CODE, OR FUNCTIONALITY, AND SHOULD NOT BE RELIED UPON IN MAKING PURCHASING DECISIONS. THE DEVELOPMENT, RELEASE, AND TIMING OF ANY FEATURES OR FUNCTIONALITY DESCRIBED IN THIS DOCUMENT REMAINS AT THE SOLE DISCRETION OF ORACLE. DUE TO THE NATURE OF THE PRODUCT ARCHITECTURE, IT MAY NOT BE POSSIBLE TO SAFELY INCLUDE ALL FEATURES DESCRIBED IN THIS DOCUMENT WITHOUT RISKING SIGNIFICANT DESTABILIZATION OF THE CODE.”
Forms Forever?
ADF Faces
ADF Faces• Based on JSF (components)• Logic separated in Java beans• Support modularization through
bounded task flows• Various business services
– ADF Business Components most popular– Connected to UI through binding layer
ADF Business Components
• One option to build the business services layer of an ADF application
• Most productive, wizard-driven• Developed only in JDeveloper
ADF Swing
ADF Swing• Based on Java Swing (ADF
components)• Same wide choice of business
services• Not widely used, deprecated• Only ADF choice for client/server
Oracle JET
JavaScript Extension Toolkit
• A toolkit, not a framework– Not everything you need– UI only
• Collected from various open source components with Oracle additions
• Open Source. From Oracle. True!• Needs a lot of JavaScript programming
MAF
Mobile in General• You don’t need mobile, unless
– your usecase is 2 minutes or shorter• You don’t need an app, unless
– it must work offline– it needs access to device features
Mobile Application Framework• ADF-like development experience
– Task Flows and pages– Component-based UI– Business Logic in Java– Device features easily accessible
• Deploy to iOS, Android, Windows 10– Builds native applications with SDKs
HTMLDB2004
Application Express 5.0
2015
Application Express• Browser-based development• Logic in PL/SQL stored procedures• Data-driven UI
– defined in database tables• Whole-page rendering gives a few
limitations
APEX 5.1• Early Adopter 1 available “soon”• Production “calendar year 2016”• Oracle JET charts• Interactive Grid• Master/Detail/Detail
The APEX developer
Take the test atwww.oratoolwatch.com
The Five Ways of Building Oracle Applications
• Forms• Application Express (APEX)• Application Development Framework
(ADF)• JavaScript Extension Toolkit (JET)• Mobile Application Framework (MAF)
Breaking News!• Let the user build
the application• Browser-based like
APEX• Developer can
refine application with JavaScript
More News!• Let the user
build mobile apps
• Browser-based like APEX
• Part of Mobile Cloud Service
What should I use?
“And it is said: Go not to the elves
or advice, for they will say both yes and
no”Frodo, in
Lord of the Rings
Complexapps
Stay with Forms
ADF Swing?
ADF Faces
Medium complexity apps
APEX
ADF Faces
Forms
Simple
AppsApplicationExpress JET?
OverviewADF Business ComponentsADF FacesADF SwingApplication ExpressOracle FormsJavaScript Extension ToolkitPL/SQLOracle ReportsSQL Updates at
www.oratoolwatch.com
References• My opinion on tools &
Oracle Tool Watch newsletter &online tool selection test: www.oratoolwatch.com
• Monthly Oracle Trends Report (paid)• Twitter: @oratoolwatch and
@stenvesterli• My blog: www.vesterli.com/blog• E-mail: [email protected]