geode: a new database interface with apex · 2008 geode migrated to oracle forms 10 2010 start of...

1
14 th I NTERNATIONAL W ORKSHOP ON A CCELERATOR A LIGNMENT 03 - 07 October 2016 Grenoble - France GEODE: a new database interface with APEX A. - V. Naegely, I. Iliev, A. Bensahla Talet, CERN, Geneva, Switzerland 1985 Creation of the Survey Database and its first character mode interface with Oracle Forms 1995 Geode first graphical interface with Oracle Forms 4 2005 Geode on the web with Oracle Forms 9 2000 Geode migrated from Oracle Forms 5 to 6 2008 Geode migrated to Oracle Forms 10 2010 Start of the migration to APEX 2014 Remaining Oracle Forms migrated to Oracle Forms 11 2017 Upcoming migration to APEX 5 0 50 100 150 200 250 300 350 DB components statistics 2010 2016 0 500000 1000000 1500000 2000000 2500000 DB data statistics 2010 2016 2015 End of the migration to APEX 4.2 EVOLUTION The latest layout with APEX The old layout with Oracle Forms Different technologies: PL/SQL, JAVA, JavaScript and jQuery combined with Web services to access libraries. Technology: Only PL/SQL S urvey Database and its user interface: GEODE Go al of the migration: suppress Oracle Forms (OF) and fully rebuild the interface, not the DB Pushdown Business logic from Oracle Forms to DB: 71 new PL/SQL packages created ! Geode and DB tightly coupled: unavoidable changes Non persistent connection to the DB with APEX: temporary tables are useless. New tables to create Geode interacts with several software: OF: Webutil functionalities distributed and used with Oracle Forms APEX: four JAVA applets were developed to keep almost the same functionalities The applets are causing more and more problems due to the increasing level of security in Java runtime environment Geode deals with two Survey libraries: SurveyLib and EarthTides OF: Webutil functionalities distributed and used with Oracle Forms APEX: A web service created to communicate with SurveyLib Another technology to master ! JavaScript: an essential tool to add responsivity to the new APEX application: more than 12600 lines of JavaScript to maintain! From Oracle® Forms to APEX: a long and difficult migration Geode created more than 20 years ago with Oracle Forms What a long life for an IT tool ! It was necessary to move to a more evolving product: APEX Survey DB and its interface created more than 30 years ago All maintenance and development done within the Survey section Survey DB is a crucial part of the Survey activities workflow Better development practices: JIRA, an issues tracking tool implemented: more than 1000 tickets already! Better documentation - inline and outside code within CONFLUENCE - a team collaboration software. Best practices rules defined for PL/SQL Code review New ongoing testing packages Ongoing code refactoring: improve code readability and reduce complexity From Oracle Forms to APEX: on the bright side Permanent monitoring and alignment systems remain to be migrated from Oracle Forms to JAVA Ongoing refactoring Automatic testing process to be developed and implemented Impeding migration to APEX 5 in 2017 Integration of the new version of LGC Implementation of new algorithms What’s next ?

Upload: others

Post on 16-Mar-2020

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: GEODE: a new database interface with APEX · 2008 Geode migrated to Oracle Forms 10 2010 Start of the migration to APEX 2014 Remaining Oracle Forms migrated to Oracle Forms 11 2017

14

thIN

TE

RN

AT

ION

AL

WO

RK

SH

OP

ON

AC

CE

LE

RA

TO

R A

LIG

NM

EN

T

03 -

07 O

cto

ber

2016

Gre

no

ble

-F

ran

ce

GEODE: a new database interface with APEXA.-V. Naegely, I. Iliev, A. Bensahla Talet, CERN, Geneva, Switzerland

1985 Creation of the Survey Database and its

first character mode interface with Oracle Forms

1995 Geode first graphical interface with Oracle Forms 4

2005 Geode on the web with Oracle Forms 9

2000 Geode migrated from Oracle Forms 5 to 6

2008 Geode migrated to Oracle Forms 10

2010 Start of the migration to APEX

2014 Remaining Oracle Forms migrated to Oracle Forms 11

2017 Upcoming migration to APEX 5

0

50

100

150

200

250

300

350

DB components statistics

2010 2016

0

500000

1000000

1500000

2000000

2500000 DB data statistics

2010 2016

2015 End of the migration to APEX 4.2

EVOLUTION

The latest layout with APEX

The old layout with Oracle Forms

Different technologies: PL/SQL, JAVA, JavaScript and jQuery combined with Web services to access libraries.

Technology: Only PL/SQL

Survey Database and its user interface: GEODE

Goal of the migration: suppress Oracle Forms (OF) and fully rebuild the interface, not the DBPushdown Business logic from Oracle Forms to DB: 71 new PL/SQL packages created !Geode and DB tightly coupled: unavoidable changes Non persistent connection to the DB with APEX: temporary tables are useless. New tables to createGeode interacts with several software:

OF: Webutil functionalities distributed and used with Oracle Forms APEX: four JAVA applets were developed to keep almost the same functionalities

The applets are causing more and more problems due to the increasing level of security in Java runtime environment

Geode deals with two Survey libraries: SurveyLib and EarthTidesOF: Webutil functionalities distributed and used with Oracle Forms APEX: A web service created to communicate with SurveyLib

Another technology to master !JavaScript: an essential tool to add responsivity to the new APEX application: more than 12600 lines of JavaScript to maintain!

From Oracle® Forms to APEX: a long and difficult migration

Geode created more than 20 years ago with Oracle FormsWhat a long life for an IT tool !It was necessary to move to a more evolving product: APEX

Survey DB and its interface created more than 30 years agoAll maintenance and development done within the Survey sectionSurvey DB is a crucial part of the Survey activities workflow

Better development practices: JIRA, an issues tracking tool implemented: more than 1000 tickets already!Better documentation - inline and outside code within CONFLUENCE - a team collaboration software.Best practices rules defined for PL/SQLCode reviewNew ongoing testing packages

Ongoing code refactoring: improve code readability and reduce complexity

From Oracle Forms to APEX: on the bright side

Permanent monitoring and alignment systems remain to be migrated from Oracle Forms to JAVAOngoing refactoringAutomatic testing process to be developed and implementedImpeding migration to APEX 5 in 2017Integration of the new version of LGCImplementation of new algorithms

What’s next ?