CERN: Building Real-World Solutions with Oracle
Download
Report
Transcript CERN: Building Real-World Solutions with Oracle
CERN: Building Real-World
Solutions with Oracle
Application Express
Joel Kallman (Oracle)
Giovanni Chierico (CERN)
Oracle Open World
San Francisco – 24 October 06
CERN: Globe of Science and Innovation in Geneva
Overview
CERN
Oracle Application Express
Why we chose it
IT environment
Completed projects
Evaluation
CERN Training Application
Safety Information Registration
The good
The bad
Is Oracle APEX good for my project?
Final thoughts
Questions
2/25
CERN: Building Real-World Solutions with Oracle APEX
CERN
Centre Européen pour la Recherche Nucléaire
The world's largest particle physics laboratory
Founded in 1954, 20 European Member States but worldwide
scientific collaborations
CERN's business is pure science: to provide scientists with tools to
study the building blocks of matter and the forces that hold them
together. These tools are Accelerators and Detectors
Plays a vital role in developing the technologies of tomorrow
IT: Birthplace of the Web & World’s largest scientific Grid
3/25
CERN: Building Real-World Solutions with Oracle APEX
CERN: the LHC accelerator
4/25
CERN: Building Real-World Solutions with Oracle APEX
Administrative Information Services
40 people group responsible for all
administrative applications and corporate
data at CERN covering:
Finances: 1 BCHF standard budget
Material: biggest scientific machine built on Earth
Human Resources: 180’000 people database
Experiment Support: 8’000 scientists from 75
countries
5/25
CERN: Building Real-World Solutions with Oracle APEX
Oracle Application Express
Is a rapid web application development
tool for the Oracle database.
Oracle APEX
PL/SQL Engine
User
Developer
Application
Data
Oracle APEX
Metadata
6/25
CERN: Building Real-World Solutions with Oracle APEX
Why we chose it
Rapid development cycle
Interface Creation
Business Logic (PL/SQL based)
Deployment
Good looking results
Easy integration with Oracle
environment
In-house Oracle expertise
Bundled for free with RDBMS
7/25
CERN: Building Real-World Solutions with Oracle APEX
IT Environment
Single Sign-On
View &
Controller
(JEE)
Oracle
RDBMS
Oracle
APEX
Foundation
8/25
CERN: Building Real-World Solutions with Oracle APEX
Applications
Around 10 applications developed and
put in production in 1 year.
Presentation test cases:
CERN Training Application
Safety Information Registration
9/25
CERN: Building Real-World Solutions with Oracle APEX
CERN Training Application
Goal: Manage CERN Training courses
Reuse existing db
Oracle APEX:
Request
& Catalog
Management
~ 5500 registrations / year
~ 250 courses
Replace old Designer application
Registration
Workflow
Size (users/population)
Create courses and sessions
Manage registrations
Manage resources (rooms,…)
Interface with financial & workflow apps
Use CERN single sign-on
Data
Interface with related applications
Custom components
Web Course Catalog
$
Send Email
Notifications
Charge courses
10/25
CERN: Building Real-World Solutions with Oracle APEX
Integration with CERN Single Sign-on
Various user profiles
and access rights
Linked with CERN’s
Electronic Document
Handling system
CERN: Building Real-World Solutions with Oracle APEX
11/25
Context Tooltips
CERN official holidays
Custom Calendar (HTP.P)
CERN: Building Real-World Solutions with Oracle APEX
12/25
CTA Project Results
Investment: 6 man months
Painless migration
1 year in production with no problems
Reused existing data repository
Links from and to related apps
6000 course registrations
3000 distinct trainees
100K$ transactions charged
Much improved usability and efficiency
13/25
CERN: Building Real-World Solutions with Oracle APEX
Safety Information Registration
Goal: provide self-service safety training courses and tests on the web
2 different authentications:
CERN Single Sign-on (worldwide accessible)
CERN Card scanner (local self-service kiosk)
Custom interface (to work with touch screens)
Integrated with IT various data sources
Insert data in Oracle HR, using PL/SQL APIs
Provide admin/reporting tools
Easy to extend with new content
ApEx
Single Sign On
Valid
test
Oracle HR
Card Reader
CERN: Building Real-World Solutions with Oracle APEX
Course
Data
CERN Access
Control System
14/25
Customized Template
for touch screen interface
Customized input elements
Multi-lingual interface
CERN: Building Real-World Solutions with Oracle APEX
15/25
Integration with picture database
Javascript driven buttons
Vertical reporting
CERN: Building Real-World Solutions with Oracle APEX
16/25
Standard SVG graph widgets
CERN: Building Real-World Solutions with Oracle APEX
17/25
SIR Project Results
Investment: 4 man months
One year in production
2 different courses offered (4 more coming)
11000 courses registered
15000 tests passed
Very few performance and stability
issues
18/25
CERN: Building Real-World Solutions with Oracle APEX
Oracle APEX Evaluation
Did it meet our expectations?
What have we learned from its use?
How does it compare to other
frameworks?
19/25
CERN: Building Real-World Solutions with Oracle APEX
The good
Quickly create web apps
Professional looking results
Good existing UI widgets
Easy to integrate with Oracle infrastructure
Painless deployment
Very intuitive development interface
Completely web based
Full power of PL/SQL!
Fast performance
20/25
CERN: Building Real-World Solutions with Oracle APEX
The bad
Difficult to reuse components
Dev time doesn’t scale with app
complexity
Impossible to modify/extend existing
widgets
Proprietary solution
Tricky to debug
Limited version control
21/25
CERN: Building Real-World Solutions with Oracle APEX
JEE Comparison
Effort
Very small “entry cost”
Very convenient for “simple” applications
Doesn’t scale too well with app complexity
JEE
Oracle APEX
Oracle APEX convenience zone
?
Results
22/25
CERN: Building Real-World Solutions with Oracle APEX
Is Oracle APEX good for my project?
Horizontal
Business Logic
Vertical
UI Abstraction
& Metacontrol
Pluggable
Validation
Oracle APEX excels with:
•Horizontal applications
Multi-level
Business Logic
Data
Abstraction
•Standard Interfaces
•“Simple” Validation & Business Logic
Transaction
Management
•Oracle experienced teams
23/25
CERN: Building Real-World Solutions with Oracle APEX
Final Thoughts
Take full advantage of DBMS & PL/SQL!
Put Business logic into DB
Easier code reuse
Better exception handling
Powerful transaction management
Easier debugging
Be generic
Materialized views, DB Links, DBMS_*,
Use placeholders for generic regions
Use “conditionals”: Regions, Reports, Items,
Processes …
Read the docs!
24/25
CERN: Building Real-World Solutions with Oracle APEX
Questions?
25/25
CERN: Building Real-World Solutions with Oracle APEX