Copyright 2013 PITSS GmbH ADF, Forms und .NET - Alles vereint in einer Handheld Scanner App bei Volkswagen Madi Serban David Christmann PITSS Volkswagen
Copyright 2013 PITSS GmbH
ADF, Forms und .NET - Alles vereint in einer Handheld Scanner App bei Volkswagen
Madi Serban David Christmann PITSS Volkswagen
Copyright 2013 PITSS GmbH
Madi Serban Product Manager PITSS.CON PITSS GmbH
David Christmann Projektleiter Versandsysteme ATLAS Dezentral TOMCADS Carrier Portal VOLKSWAGEN AG
About Us
Forms Migrations Project Manager ADF & APEX Team Leader Coaching, Training
Copyright 2013 PITSS GmbH
Managing and Modernizing Oracle Forms and Reports Worldwide
pitss.com/us/our-customers/ www.pitss.eu/references
About PITSS
Copyright 2013 PITSS GmbH
http://www.volkswagen.de/de.html
About Volkswagen
Copyright 2013 PITSS GmbH
About the Application
Challenges: Big Forms application that needs to run on
supported platforms
Part of modules need to run on legacy hardware: Windows CE 5.0 barcode scanners of various types
Forms 11g does not run on Win CE 5 devices Maintaining the old INPs only for the mobile
devices was not an option
Modernizing Mobile Forms INPs
Clie
nt
Mobile Win CE Barcode Scanners
DB
A
pp
. Ser
ver
Forms 11g
Desktop Forms applet
FMBs, PLLs, OLBs
Forms 3.0
Copyright 2013 PITSS GmbH
The Future of Forms Applications
Where do companies usually decide to migrate Forms?
Forms 11g quick, risk-free software/ hardware compatibility use existing skills fewer Forms developers
ADF
Forms 2/3/6i…
APEX
Any-GUI
Java/ Oracle strategy few Java developers know PL/SQL plenty of Java developers
PL/SQL skills transaction model changes
mostly compatibility reasons developers not understanding Forms
Why? Any Issues?
Copyright 2013 PITSS GmbH
The Future of Forms Applications
Initial technology choice at Volkswagen
Forms 11g quick, risk-free software/ hardware compatibility use existing skills fewer Forms developers
ADF
Forms 2/3/6i…
APEX
Any-GUI
Java/ Oracle strategy few Java developers know PL/SQL plenty of Java developers
PL/SQL skills transaction model changes
mostly compatibility reasons developers not understanding Forms
Why? Any Issues?
Forms 11g upgrade project was a nice PITSS.CON 12 routine.. So we‘ll tell you about the mobile part:
Copyright 2013 PITSS GmbH
Project Start for Modernizing the Mobile Forms Modules
Same excellent performance Hot-Key functionality Support for new and old devices Support for Win CE 5.0 operating system Architecture to minimize future migration efforts Modern user interface Kiosk/ App Mode Functional extensions
And… Minimal time budget: 2 months Maximum quality
Requirements/ Challenges
Clie
nt
Mobile Win CE Barcode Scanners
DB
A
pp
. Ser
ver
Forms 11g
Desktop Forms applet
FMBs, PLLs, OLBs
Forms 3.0
Copyright 2013 PITSS GmbH
Our Technology Options for the UI
Oracle ADF 11g Mobile Overview
“…HTML5 and Java-based mobile application development framework that enables developers to build and extend enterprise applications for iOS and Android from a single code base. Based on a hybrid mobile architecture, ADF Mobile supports access to native device services, enables offline applications and protects enterprise investments from future technology shifts. Oracle ADF Mobile is part of Oracle ADF, the strategic, standards based framework for Oracle Fusion ...”
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfmobilefaq-1866697.pdf
Our options for Mobile Application Development - Oracle ADF Faces Rich Client Components - Oracle ADF Mobile Browser – compatibility!!
Copyright 2013 PITSS GmbH
Oracle ADF 11g
Supported Mobile Browsers and Features Browser JavaScript Support CSS Support PPR Support
BlackBerry version 4.6 and later
Yes Yes Yes
Blackberry versions 4.2 through 4.5
No Yes No
Microsoft Windows Mobile 5
Yes Yes Yes (with nuances)
Microsoft Windows Mobile 6
Yes Yes Yes
Apple iPhone Safari
Yes Yes Yes
Nokia s60 series
Yes Yes No
Plain HTML (Opera Mini, Opera Mobile and Skyfire)
No Yes No
http://docs.oracle.com/cd/E35521_01/web.111230/e16178/pda_ovrv.htm#sthref8
Copyright 2013 PITSS GmbH
Top Issues ADF Mobile Browser needs
JavaScript for function keys. JavaScript browser not available for Windows CE 5.0
ADF Mobile not supported for Windows CE 5.0
Our Technology Options for the UI - The Win CE JavaScript Problem
The research process took 2 weeks!!! => 6 weeks left for migration!!
Copyright 2013 PITSS GmbH
The Solution
Thin client Key-Functions Full-screen (Kiosk) Modern UI Compatible with existing devices Thick (90%) ADF + DB Preserve DB Communicate with the rest of the Forms
application Model Layer contains View Objects and
Methods (Business Logic) exposed as Web Services
Clie
nt
Mobile Win CE
DB
A
pp
licat
ion
Ser
ver
ADF Business Components
View Objects
Methods
Web Services
.NET
Forms 11g
Desktop
Business Logic to DB
Forms applet
FMBs, PLLs, OLBs
Shared
Security
Our Technology Options for the UI
Copyright 2013 PITSS GmbH
The Solution: Forms & ADF Server + .NET Client
.NET: • Compact Framework 2.0 SP 2.0 Web Services • JAX-WS • Login/ Authentication
ADF: • JDeveloper 11.1.1.6 • Weblogic: ADF Runtime 11.1.1.6
Database: • Oracle 11g • Packages created from Forms functionality
• Without unused objects • Grouping redundancies for easier maintenance • Cleaned from any global variables and global
transactions => connection sharing
Clie
nt
Mobile Win CE
DB
A
pp
licat
ion
Ser
ver
ADF Business Components
View Objects
Methods
Web Services
.NET
Forms 11g
Desktop
Business Logic to DB
Forms applet
FMBs, PLLs, OLBs
Shared
Security
Copyright 2013 PITSS GmbH
The 6-weeks Migration Work
Our solutions for managing time : Make accurate estimations Avoid surprises, at least the bad ones How: analyze in detail to know exactly what to do, use analysis tools But avoid paralysis by analysis Have and follow a clear process plan
Biggest Challenges: TIME = Meeting the End April Deadline INTEGRATION
Copyright 2013 PITSS GmbH
PITSS.CON Forms Modernization Process
Analysis Cleaning
Unused Obj., Redundancies
Business Logic to Database
Forms 11g
Forms11g Upgrade & Test
SOA SOA SOA
Phase 2: 11g Upgrade Phase 1: Forms Preparation
ADF 11g Migration
Model Layer Fine-tuning
Phase 3: Migration Phase 4: Application Fine-tuning
SOA
ADF Architecture & Estimation
SOA
User Interface Enhancing
UI Business Logic Redesign
Integration
& Test
Phase 5 ADF
Any Forms version
APEX Migration
Data Management Fine-tuning
SOA
APEX Architecture &
Estimation
SOA
User Interface, Navigation, Processes
UI Business Logic Redesign
Integration
& Test
APEX
Any-GUI
Data Management Fine-tuning
User Interface, Navigation, Processes
UI Business Logic Redesign
Integration
& Test
PITSS.CON Re- Engineering
Documentation
Iterations
Quality Assurance
Technology Co-Existence
Copyright 2013 PITSS GmbH
Analysis Tools: FMB Navigation Flow (generated with PITSS.CON)
List of Modules: Initial list of FMB modules
Modules added at kick-off
Modules added after the navigation flow analysis
Navigation = Call_form, open_form…
Copyright 2013 PITSS GmbH
Making accurate Time Estimations
Challenge: How to put numbers
behind individual modules?
Forms Modules vary in size
Modernization tasks vary in complexity among
projects
Know-how varies among project teams
PITSS.CON Complexity Analysis Report
Estimating total application complexity
Breaking down to individual modules
And individual project phases
Copyright 2013 PITSS GmbH
In average, 30% of Forms objects are unused or redundant
Who dares to touch a running system?
deleted unused objects
grouped similar code in libraries
moved data management to DB
Application Cleaning: PITSS.CON Unused Objects Analysis
Identifying and eliminating unused code from the start saves time and allows us to estimate work accurately. The Java/ .NET developer does not need to figure out what to do with that code.
Copyright 2013 PITSS GmbH
Reducing Redundancies
Forms Objects/ Business Logic
→ Components Reuse → Modularity
30% match
100% match 70% match
100% match
70% match
50% match
Moving logic to DB is a good opportunity to consolidate code and avoid repetition. We identified redundancies with PITSS.CON and then consolidated in flexible, parameterized DB functions and procedures.
Copyright 2013 PITSS GmbH
In typical Forms applications we can move easily 30% of the logic to DB.
In this project we moved 90%.
Architecture benefits:
reduced size, maintenance
increasing code reuse
Difficulty: separating DML from UI:
DML to DB
and UI to ADF/.NET
Business Logic to Database: PITSS.CON BL Assistant
Copyright 2013 PITSS GmbH
Analysis Tools: Data Management Flow (generated with PITSS.CON)
Time to generate manually: 1 day per FMB module => we implemented it as standard PITSS.CON feature and gained time
Vital analysis for ADF/ .NET developers
DB Tables
Blocks
Triggers
Functions procedures
Copyright 2013 PITSS GmbH
How is the application looking like? What do end users think of the application?
1 2 3 4 5 6
Look & Feel
Performance
Quality
Maintenance
Copyright 2013 PITSS GmbH
The classical question: Would we do it again?
YES!! Definitively! “Stressful? Yes. But clearly the most challenging and interesting project in the last years.” → Read our Article in
DOAG News 06/2013 PITSS Project Team (left to right): Madi Serban, Mathias Waedt, Rastislav Misecka, Bahar Us
Copyright 2013 PITSS GmbH
Treffen der Deutschen ADF Community
Wann
Dienstag, 19. Nov.,
14.00 – 14.45 Uhr
Wo
Raum Sydney
Warum Neuigkeiten zu Oracle ADF erfahren
Mit Product Managern und
Experten sprechen
Networking
und ...
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Copyright 2013 PITSS GmbH
Deutsche Oracle ADF Community
• Oracle ADF Community auf XING
• Twitter: ADFCommunityDE
• ADF Spotlight: 30-minütige Web Seminare an jedem 2. Freitag
• ADF Project Sessions: Serie von eintägigen Workshops
• Regelmäßige Treffen mit Fachvorträgen und Diskussionen
• Zusammenarbeit mit der DOAG (Jahreskonferenz, SIG)
• DOAG Barcamp und ADF Hacker‘s Event (30./31. Januar 2014)
Werden Sie Teil unserer Community !
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Copyright 2013 PITSS GmbH
Zeit Raum Thema Referent
13.00 - 13.45 18 / Sydney Oracle Text – Ein vergessenes Feature in der Oracle DB Stephan La Rocca (PITSS)
15.00 - 13.45 20 / EG ADF, Forms und .NET – Alles vereint in einer Handheld Scanner App Madi Serban (PITSS), David Christmann
(Volkswagen)
16.00 - 16.45 8 / Helsinki Dein Blogreader – die Top 20 Artikel zu SQL & PL/SQL Stephan La Rocca (PITSS)
17.00 - 17.45 8 / Helsinki Multiprocessing in PL/SQL – Der Weg aus dem Single Thread Christian Wille (PITSS)
17.00 - 17.45 16 / Krakau Lesson Learned – Oracle Fusion Middleware Forms / Reports 11g Jan-Peter Timmermann (PITSS)
10.00 - 10.45 11 / Oslo Wie kann ich meine (bestehende) Forms GUI moderner gestalten? Daniel Kampf (PITSS)
11.00 - 11.45 11 / Oslo Forms nach APEX 101 – Kann alles migriert werden? Fallbeispiele &
Tests
Markus Salm, Nihad Haskovic (PITSS)
12.00 - 12.45 11 / Oslo Dynamische Mehrsprachigkeit für Forms & Report Ronald Steiner (PITSS)
13.00 - 13.45 19 / EG Test & Pimp my Forms Application Nils Baranowski (PITSS),
Dr. Jürgen Menge (ORACLE)
16.00 - 16.45 11 / Oslo Forms-Wissen trifft auf ADF Jan-Peter Timmermann (PITSS)
16.00 - 16.45 17 / Hongkong Experten-Panel: Mobile Computing Stephan La Rocca (PITSS),
Frank Nimphius (ORACLE)
13.00 - 13.45 15 / Prag Das ABC der Forms-nach-ADF Migrationen –
Beispiele & Live-Demo
Madi Serban, Bahar Us (PITSS)
16.00 - 16.45 12 / Istanbul Performance managen ohne Performance Management Pack Jan-Peter Timmermann (PITSS)
Die
nst
ag, 1
9.1
1.2
013
M
ittw
och
, 2
0.1
1.2
013
Do
, 21
.11
.20
13
PITSS Vorträge auf der DOAG 2013
Copyright 2013 PITSS GmbH
Vielen Dank! Besuchen sie unseren Stand - Nr. 206
Expertengespräche ADF & APEX Previewer …im Anschluss an diesen Vortrag! Wir freuen uns auf Ihren Besuch!
Madi Serban PITSS GmbH mserban @pitss.de
ADF & APEX to go!
David Christmann Volkswagen AG [email protected]