Sei sulla pagina 1di 8

Agenda

Birds Do It:
Choosing Oracle Fusion’s ADF • The migration requirement
Business Components to Migrate • Technology decision process
from Oracle Forms to J2EE Web
• Challenges, successes, lessons learned
Tuesday (Peter and Duncan)
Peter Koletzke 10:45: JAZN Security in JDeveloper
(Hilton)
Government Technical Director & Thursday (Peter)
Technology Conference
Principal Instructor Government 4:00: JDeveloper with ADF Faces and
(GTC) East 2005 Technology Conference JHeadstart (Moscone West)
(GTC) East 2005

The Legacy Application


• The organization
• New York State Office of Alcoholism and Substance
Abuse Services (OASAS)
• The application
• Federally required reporting system for all patient
admissions and discharges into substance abuse
treatment programs
• Statewide application involving 1,200 government,
private and nonprofit programs
• Approximately 400,000 transactions
per year
• Character-mode Forms 6.0 run in a telnet
client session; Oracle 8i database

3 4
5 6

Legacy Application’s Shortcomings Migration Objectives


• Use industry standard technologies
• Non-GUI interface with
resulting poor navigation • Leverage existing staff’s knowledge base
• Mix mentoring and training into development
• Extensive on-site training work
• Required client side • Retain the Oracle RDBMS
software and hardware
• Modernize the user interface
• Difficult to modify – Pulldown descriptions instead of code
values; easier navigation
• Limited features
– Eliminate need for telnet servers and
• Business rules in the client software
application – Improve online help and provide online
training

7 8
Agenda

New UI • The migration requirement


• Technology decision process
• Challenges, successes, lessons learned

Government
Technology Conference
(GTC) East 2005

9 10

Decision Process Notes About the Decision Process


Note: The order in this Case Study
Which Technology Realm? of steps may
differ in other • Migration consisted of multiple subsystems
organizations.
• First subsystem migration project started in
Which Development Tool? 2003
– Decision process was followed with available
technologies at the time
Which Technology Stack? – It was followed again for each subsystem within
Which Persistence Which View and this application
(Model) Layer? Controller Layers? • The decisions had similar results but used
technologies that were current at the time
• To simplify, this discussion merges
Which Additional Frameworks?
these into a single process

11 12
Which Technology Realm? Which Development Tool?
• Decision: Java Enterprise Edition (J2EE); Web • Decision: Oracle JDeveloper (9i, 10.1.2, 10.1.3)
• Reasons for J2EE • Reasons
– Industry standard; lots of options exist for Java – Works well with Oracle database
– Oracle is focusing on it – Flexible: can produce standard code using any Java
• Reasons for web interface framework – from Oracle or from elsewhere
– Available anywhere, any time – Oracle uses it to build the EBS apps
– Browser-based user interface – “Standard” Oracle development tool
• Single vendor
• Eliminates telnet software (cost and set up)
• Parallel decision was made to also
• No applet downloads; JInitiator was rejected
use Oracle Application Server
– Familiar GUI interface components
– Relatively familiar environment for
• Eliminates arcane function key presses
Oracle Forms developers
13 14

Which Technology Stack? Which Persistence (Model) Layer?


• Decision: Oracle ADF frameworks • Decision: ADF Business Components
• Reasons • Reasons
– They are well supported in JDeveloper – ADF BC works better than EJB for an
Oracle database
– The development experience consists
– Friendlier than EJBs and TopLink for
more of declarative programming than of traditional Oracle developers
writing lines of code • Project started before EJB 3.0
• More familiar to PL/SQL and Forms
– Reliance on Oracle-specific
developers
framework not considered to be a
– Oracle supports them drawback
• Vendor support vs. community support • Again, the benefit of vendor support

15 16
Additional Benefits of ADF BC Even More Benefits of ADF BC
• Simple to develop – less Java code • Highly-evolved
– Assumes business rules code is primarily in the
database – Started when most Java developers were
• Used by Oracle to build its prepackaged still coding JDBC
applications • In its earliest iteration, more features
– A.k.a., Oracle Applications, E-Business Suite, than most comparable frameworks
Fusion Applications
– We can rely on support, assistance, bug fixes, • Middle tier data caching done natively
enhancements before other frameworks tried this
• Does everything that other persistent
frameworks do • Plays well with others in ADF
– Hibernate – Narrows the decision for View and
– EJB Controller layers

17 18

Which View/Controller Layers? Which Additional Frameworks?


• Decision: • Oracle JHeadstart
– Oracle Consulting JDeveloper plugin
– 9.0.3: UIX/MVC
– Generates View and Controller code from definitions
– 10.1.2: JSP/Struts
in an XML file
– 10.1.3: ADF Faces/JSF
– Generated code was customized in some subsystems
• Reasons – Later subsystems are 100% generated
– Similar: Oracle is/was using them to
create its applications (except 10.1.2)
• Drools
– Rule engine used for page flow logic
• Excellent support in JDeveloper • File-based repository with logic
• Good IDE tools for Oracle Forms developers
• Complex navigation between pages
– They are all Oracle supported • Multiple versions of each page (date-driven)

19 20
Agenda Did We Mention the Award?

• The migration requirement


• Technology decision process
• Challenges, successes, lessons learned

Government Government Technology Conference


Technology Conference
(GTC) East 2005 GTC East 2005

21 22

Challenges – Strategy Challenges – Technology


• Staff unaware of J2EE coding styles • Redesigning navigation and security
– Character mode menus needed modernization
– Training on new tools and languages early
in project – Eliminating individual database user accounts

– On site “mentors” and Java architect to • Rewriting all application code


answer questions (and do the “hard stuff”) – Moving Forms business rules logic to the database
• Questioning and tightening up business rules
– “Recipes” for specific tasks
– Rewriting character mode reports in Oracle Reports
• Users accustomed to character
mode forms • Installing new hardware for Oracle
Application Server and Portal
– Online training
• Database upgrade to 9i (now 10g)
– Much advance warning

23 24
Successes – Strategy Successes – Technology
• Gradual rollout to user base was a key • Technology choices proved solid
– Over 400 user sites (multiple users each) • ADF Business Components presented no
• User acceptance remarkably high major surprises
– Most folks seem to know about Internet – JDBC layer worked
applications – Published techniques for application context and
– No need to teach how a mouse works user connections worked
• Somewhat apprehensive staff was • View and Controller technologies did their job
productive – Used Browser Look and Feel
– New is always scary but in a fun way • Slightly boring but consistent with EBS
• Moving business rules code to the • JHeadstart plugin helped
database was a key to success – JDev 9i offered less declarative coding
• You need a resident Java architect – Softened J2EE development learning curve
– Preferably one who knows ADF – Provided default page flow code and patterns

25 26

Lessons Learned – Strategy Lessons Learned – Technology


• Full application rewrites cannot “leave • Don’t use Oracle SCM with the JDev 9i
everything the same” front end
– Budget for some redesign time – Enough said
• Database structures can and should • Design around native features
change – Frameworks work best when you
• Be watchful of scope creep leverage their strengths
• Budget for a business expert on – Avoid overriding framework classes
the team • Stick with default page flow
– You need quick decisions – Upgrades will be easier

27 28
ƒ Please fill out the evals
Summary Developer
ƒ Books co-authored with Dr. Paul Dorsey,
Avrom Roy-Faderman, & Duncan Mills
Designer Advanced ƒ Personal web site:
• You can do well with ADF BC and Handbook Forms & Reports
http://ourworld.compuserve.com/
homepages/Peter_Koletzke
related frameworks
• Remember the successes and lessons
learned JDeveloper 3
Handbook ORACLE9i http://www.quovera.com
• This is a specific case study JDeveloper • Founded in 1995 as Millennia Vision
– Your mileage may vary Handbook Corp.
• Profitable for 7+ years without outside
– Decision points will be slightly different in funding
• Consultants each have 10+ years
each case industry experience
• Strong High-Tech industry background
• You can do it! ORACLE
JDeveloper 10g
• 200+ clients/300+ projects
• JDeveloper Partner
– Only if you need to, however Handbook
• More technical white papers and
presentations on the web site

29 30

Potrebbero piacerti anche