Upload
duongxuyen
View
217
Download
1
Embed Size (px)
Citation preview
Copyright 2014 PITSS GmbH
Managing and Modernizing Oracle Forms and Reports Worldwide
pitss.com/us/our-customers/ www.pitss.eu/references
About PITSS
Copyright 2014 PITSS GmbH
Organisation/ Project Motivation for Change
US AAR Corporation/ Forms + ADF + ADF Mobile Integration, Mobile
US Metronics/ Forms 11g + ADF Modern user interface
US Department of Justice – ATF Forms to ADF Oracle strategy
US PowerSouth Energy Coop./ADF Mobile Rapid Implementation
of Mobile Applications (iOS, Android)
Same Weblogic environment as Forms
DE Volkswagen/ Forms3 to ADF11g + .NET Java - a strategic direction for VW
US Oracle Retek/ Forms to ADF Oracle strategy
US DTE Energy/ Forms11g + ADF Integrates very well with Forms
Complements Forms limitations
DE Education Provider/ Forms11g + APEX Reducing the license costs
US Boeing
UK Airas Intersoft/ Designer to Java EE Oracle strategy
US Health Care Provider/ Forms6i to ADF11g Complexity (ex: MDDD Oracle Assoc.)
Some ADF, APEX, .NET Migration Projects with PITSS.CON
Copyright 2014 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
Forms 11g upgrade project was a nice PITSS.CON 12 routine.. So I‘ll tell you about the mobile part:
Copyright 2014 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 2014 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 2014 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 2014 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 2014 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 2014 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 2014 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 = Making technologies work together
Copyright 2014 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 2014 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 2014 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 2014 PITSS GmbH
In average, 30% of Forms objects are unused or redundant
What to do with the unused code?
A. Leave it there (Never touch a running system)
B. Move unused code to database (Out of sight)
C. Dare to delete it
What we did:
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 2014 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 2014 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 2014 PITSS GmbH
Analysis Tools: Data Management Flow (generated with PITSS.CON)
=> we implemented it as standard PITSS.CON feature and gained time
Vital analysis for ADF/ .NET developers
DB Tables
Blocks
Triggers
Functions procedures
Time to generate manually: 1 day per FMB module
Copyright 2014 PITSS GmbH
ADF Web Services Architecture
JDeveloper 11.1.1.6 Weblogic: ADF Runtime 11.1.1.6
Web services: standard Oracle ADF components Challenges: - Connection Pooling - Multiple databases for each WebLogic Server
(the server selects the suitable connection depending on device and user)
- Database-defined multi-language (shared across different applications and technologies)
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 2014 PITSS GmbH
How is the .NET application looking like? What do end users think of the application?
1:
exce
llen
t
2:
very
go
od
3:
ok
4:
no
t o
k
5:
po
or
6:
dis
aste
r
Look & Feel X
Performance X
Quality X
Maintenance X
Copyright 2014 PITSS GmbH
The classical question: Would we do it again?
→ Read our Article in
DOAG News 06/2013 PITSS Project Team (left to right): Madi Serban, Mathias Waedt, Rastislav Misecka, Bahar Us
YES!! Definitively! “Stressful? Yes. But clearly the most challenging and interesting project in the last years.”