Upload
vuongcong
View
243
Download
5
Embed Size (px)
Citation preview
9th CA 2E/CA Plex Worldwide Developer Conference 1
9th CA 2E/CA Plex Worldwide Developer Conference
Agenda
2
o CM M3 Overviewo High Level Process Modelo POC Resulto M3 Agile Project Management Approacho Demoo Q&A
9th CA 2E/CA Plex Worldwide Developer Conference
Terminologies
o Modelo Access patho Context (CTX)o Sub file
o Group Modelo Viewo Variableo Grid
o 2E o Plex
9th CA 2E/CA Plex Worldwide Developer Conference
CM M3 Overview
Web/MobileASAP
ReuseCodeBaseandLayout
9th CA 2E/CA Plex Worldwide Developer Conference
Original5250Screens
ModernizesomeoralloftheModel
oCA 2E (Synon) models & generated applications
oNative Code:oRPGoCOBOLoCL/i5/OS artifacts
CM M3 Process: From 2E to Plex/Java/C#
Plus:
•Native code modernization
•Replatform from IBM i - AS/400
•Regression testing
RobustPlex/JavaEnvironment(forAPIs/SOA,Web,Mobile)
9th CA 2E/CA Plex Worldwide Developer Conference
High Level Process Model
9th CA 2E/CA Plex Worldwide Developer Conference
Migration Decision Process
AutomatedAnalysis
POCPrototype
DeepAnalysis
Go/NoGo
Results,Plan,Proposal
AutomatedObjectsFixed
Price
9th CA 2E/CA Plex Worldwide Developer Conference
Overall Migration ProcessAutomatedMigrationEnvironment Prep Mock
Migration
MigrationRule
AdjustmentsFinalMigration Turnover Warranty
SoftwareTraining Refactoring
Production
Refactoring(CMF/Client)
TestPlans Acceptance Testing
QualityAssurance(Client)
9th CA 2E/CA Plex Worldwide Developer Conference
Migration Technical Process2EModelExtraction
Setupenvironment/Clean2EModel
ExtractAppStructureasXML
ValidateCompletenessOf
XML
CustomerValidationReady
BuildandTestinPlex/Java/Linux
ImportIntoPlexUsingCOM
ValidateCountsto2E
GenerateAndBuildin
Java
FunctionalTestingTo2E
9th CA 2E/CA Plex Worldwide Developer Conference
Assessment
9th CA 2E/CA Plex Worldwide Developer Conference
Assessment Goalso Counts and Lists of Objectso Manual Refactoring Analysis• Non supported code and structures• Security• And much more
o “AS-IS” and “TO-BE” Architectures
o Report with Appendiceso Project Plan with Fixed Price
and Time and Material components.
11
9th CA 2E/CA Plex Worldwide Developer Conference
Processo 2 Engineers for 6 weekso -1 week on siteo Access to model, code, and
SME’so Off-premise model analysis is
preferable
o Automated toolso Manual inspectiono Discussions and decisions on
architecture of “To Be” application and incremental phases (if used).
12
9th CA 2E/CA Plex Worldwide Developer Conference
Don’t migrate what you don’t need
ProgramObjects Top level
Calls others&is called
Endofprogramtree(called only)
Standalone Total
Active 914 3108 214 42 4278
Not used 631 724 106 79 1540
Notusedrecent 125 136 11 7 279
Total 1670 3968 331 128 6097
30%6%
• conditions• functions•messages• fields, etc.
databaseobjects
9th CA 2E/CA Plex Worldwide Developer Conference
POC Results
9th CA 2E/CA Plex Worldwide Developer Conference
POC Prototype Summaryo Full Model Countso 21935 functionso 1165 tableso POC Countso 1000 functions (5 demo screens)o 1165 tables to Plex, 10 with data
to Oracle
o Targeto Plex/Java/Eclipseo Oracle for one table
(The rest left in DB2)o Tomcat / RIA Browser App
(Any Platform)
9th CA 2E/CA Plex Worldwide Developer Conference
M3 Agile Project Management Approach
9th CA 2E/CA Plex Worldwide Developer Conference
CMFirstAgileProjectApproach
• AgileApproach• ValueDrivenDelivery• StakeholderEngagement• TeamPerformance• AdaptivePlanning• ProblemDetectionandResolution• ContinuousImprovement(Product,Process,People)
9th CA 2E/CA Plex Worldwide Developer Conference
ValueDrivenDelivery
• DeliverValuableResults• HighValueIncrements• DeliverEarly&Often• Stakeholderfeedback• Feedbackusedtoimprove
9th CA 2E/CA Plex Worldwide Developer Conference
StakeholderEngagement
• BuildaTrustingEnvironment• AlignwithNeedsandExpectations• BalanceRequestswithUnderstanding• Participation&Collaboration• ToolsforEffectiveandInformedDecisions
9th CA 2E/CA Plex Worldwide Developer Conference
TeamPerformance
• Trusting,Learning,Collaboration• ConflictResolutionPromotingSelf-Organization
• StrongRelationshipsAmongTeams• CultivateCultureofHighPerformance
9th CA 2E/CA Plex Worldwide Developer Conference
AdaptivePlanning
• PlanBasedonGoals,Values,Constraints• ProduceandMaintainEvolvingPlan• StakeholderFeedback• Reviewfindings
9th CA 2E/CA Plex Worldwide Developer Conference
ProblemDetectionandResolution
• ContinuouslyIdentifyProblems,Impediments,Risks• PrioritizeandResolveinTimelyManner• MonitorandCommunicateStatus• ImplementProcessImprovements
9th CA 2E/CA Plex Worldwide Developer Conference
ContinuousImprovement
• ContinuouslyImproveQuality
• ContinuouslyImproveEffectiveness
• ContinuouslyImproveValueof:
Product,Process&People
9th CA 2E/CA Plex Worldwide Developer Conference
CMFirstProjectManagementApproach
• PMPCertifiedProjectConsultant• AgileSCRUMTeamProcess• Multi-levelplanning(Project,Sprint,Daily)• StateoftheArtCommunicationProcesses• ProjectAutomationatEveryLevel• Thenear-shoreteaminHonduras• QAandDevOpsoverview
ProjectExcellence
9th CA 2E/CA Plex Worldwide Developer Conference
PlanningatEveryLevel
• ProjectGanttChartPlanning• SprintPlanning• DailySCRUMPlanning• EarlyProblemIdentification• FastResolution
9th CA 2E/CA Plex Worldwide Developer Conference
Communication
• DailyPlanned&Ad-HocTeamCommunication• WeeklyStatusMeetingwithStakeholders• AutomatedTask/QA/IssuesCommunication• ContinuousSocialMediastylecommunication
9th CA 2E/CA Plex Worldwide Developer Conference
DistributedTeams
LikeSittingAroundATable
• ExperiencedDistributedTeamModel• BringstheRightSkillstotheProject• ExcellenceinCommunications• AnywhereintheWorld!
• Customer/Stakeholders• IntegratedOffShoreTeam- Honduras
9th CA 2E/CA Plex Worldwide Developer Conference
DevOpsprocess
• DistributedDevelopment– Eclipse+GIT/SVN• ProprietaryGen/BuildTechnology• ContinuousIntegration• AutomatedTesting- SmartBear
9th CA 2E/CA Plex Worldwide Developer Conference
ProjectTools
• ImmediateCommunicationstotherightPersonorGroup• Trello- Task&IssueManagement
• EveryTeammemberhasDesktopSharing• 1to1orGroupCommunications- Skypeforbusiness
TrelloBoards
SkypeforBusiness
9th CA 2E/CA Plex Worldwide Developer Conference
Agile– SCRUMfocuses teamsontherightactionsattherighttimewithcontinuousdelivery.
ContinuousImprovement
AdaptivePlanning
Bringtherightresources toeachprojectwithsupportavailableatamomentsnotice
AgileApproach DistributedTeams
AdaptivePlanningandExecutionreducesriskandbringsprojectsinon-time–Savings!
Alwayslookingforbetterwaystobringvaluetoacustomersproject
9th CA 2E/CA Plex Worldwide Developer Conference
Demo
31
9th CA 2E/CA Plex Worldwide Developer Conference
Demo Model Statics
32
o 2E model has• N Entities• M Functions
o Import to Plex model• 3612 Objects• 6781 Triples• 1737 Minor Large Properties (message, label etc)• 60 Panels• 218 Action Diagrams
9th CA 2E/CA Plex Worldwide Developer Conference
Demo
33
o Demo: 2E Applicationo Transform: 2E Model XML to Plex Modelo Development: Plex developer work with MatchPointo Build: Plex Model to deployable fileo Run: How 2E application looks as Web Client
9th CA 2E/CA Plex Worldwide Developer Conference
How it works?
UnitTest
Commit
BuildQA
Development2EModel XML Plex
Model
Automation
ContinuousIntegration
9th CA 2E/CA Plex Worldwide Developer Conference
Q&A
35
9th CA 2E/CA Plex Worldwide Developer Conference
Thank you
36
9th CA 2E/CA Plex Worldwide Developer Conference
Additional Slides in case we go more deep…
37
9th CA 2E/CA Plex Worldwide Developer Conference
Why M3?
38
9th CA 2E/CA Plex Worldwide Developer Conference
M3?
Model based Modernization Methodology
9th CA 2E/CA Plex Worldwide Developer Conference
Why M3?M3 is your solution if you …o want to modernize 2E application to Web applicationo don’t like Screen Scrapero don’t like or know native language codingo love model base toolo consider leaving System i
9th CA 2E/CA Plex Worldwide Developer Conference
Why M3?Benefitso Great Web UX opportunityo The application design is maintained with Model base toolo No need to learn native languageo Two re-platform options• Stay on System i• Move out from System i
9th CA 2E/CA Plex Worldwide Developer Conference
M3 Components
42
9th CA 2E/CA Plex Worldwide Developer Conference
M3 Components
o CA Plex Group Models for M3o M3 Transform Engineo M3 Java Runtimeo CM WebClient for M3
9th CA 2E/CA Plex Worldwide Developer Conference
CA Plex Group Models for M3o M3 ADCMS• Library Model that provides your 2E objects behave as Web Application
o M3 Migbase• The model your 2E objects are migrated
9th CA 2E/CA Plex Worldwide Developer Conference
CA Plex Group Models for M3o WebClient readiness Panel Designo STS field is defined as Combo boxo Command keys defined as buttono Sub-file selectors as button
9th CA 2E/CA Plex Worldwide Developer Conference
M3 Transform EngineM3 Transform engine Migrate XML to Plexo Entity Relationso Functions with action diagramo Ready for use panel layout designs • Adding Events with push button• Tab sequence• Color Conversion
o User Defined Field Type
9th CA 2E/CA Plex Worldwide Developer Conference
M3 Java RuntimeFill the Gap between 2E and Plex application behavior differences!o Provide 2E like CTX (Region) fields handling• External and Internal function CTX sharing like WRK, LCL• Populate CTX like PGM, JOB
o Provide 2E like event/screen processingo Access Database via JDBCo Batch Function Callo EXECMSG
9th CA 2E/CA Plex Worldwide Developer Conference
CM WebClient for M3o Run on Web browsero Calendar Control for Date Edit Controlo Confirm Prompt as pop upo Customize control via template
9th CA 2E/CA Plex Worldwide Developer Conference
What are the manual works?
49
9th CA 2E/CA Plex Worldwide Developer Conference
Standard Manual Refactoring
50
o Field Grouping and responsive scaling• Update control name for each field of the panel• Apply CSS for the correct layout in the web page• Review each panel Filed for statics values
o Grid column based in 2E Panel• Change Column Headings• Hide Column with statics values
9th CA 2E/CA Plex Worldwide Developer Conference
Non-Standard Manual Refactoring
51
o Especial columns that require changes in the column heading for special purposeso Especial field that require changes in the text properties for special purposeso Filter in Grid from non-Grid Fieldso Totals in the Grid columnso Dynamic Subfile optionso Missing fields from 2E Panels that are not removed from the Action diagramo Special Layout of the RCD in the 2E Panelso Manual Lines (tables) created in 2E panels
9th CA 2E/CA Plex Worldwide Developer Conference
Devops
52
9th CA 2E/CA Plex Worldwide Developer Conference
How it works?
2EModel XML Plex Model WebApplication
9th CA 2E/CA Plex Worldwide Developer Conference
DevOps
o Plex Source generation Utility• Automatically generates source code from Plex model
o War build process integrated with source management tool• Build deployable war file (No IDE is required)
o Match Point Integration to manage the DevOps
9th CA 2E/CA Plex Worldwide Developer Conference
Key to Successo The cleaner the 2E model is, the more smooth migration is
o Recommendation before providing your 2E model• Remove unused Objects• Generates all your objects to Synchronize
9th CA 2E/CA Plex Worldwide Developer Conference
Limitation
56
9th CA 2E/CA Plex Worldwide Developer Conference
Limitations
o The automation isn’t perfect, it requires manual work against Plex Model
o PRTFIL and PRTOBJ • Report designs and Action diagrams aren’t migrated• Can be executable as DDS Report on System i
9th CA 2E/CA Plex Worldwide Developer Conference
Q&A
58
9th CA 2E/CA Plex Worldwide Developer Conference
Contact
59
Phone: +123-456-789Email: [email protected]: www.companywebsite.com
9th CA 2E/CA Plex Worldwide Developer Conference
Details (If any Plex users are)
60
9th CA 2E/CA Plex Worldwide Developer Conference
M3 TransformM3 Transform engine outputs results with failed import list with reason codeo Object Creation resulto Triple Creation resulto Minor LP import resulto Panel import resulto Action diagram import result
9th CA 2E/CA Plex Worldwide Developer Conference
M3 Transform
Notable facts
o 2E PRTFIL and EXCUSRPGM are migrated as Type API RPG function
9th CA 2E/CA Plex Worldwide Developer Conference
M3 TransformNotable factso 2E Physical file is Table but migrated as View in Plexo All migrated Views Type Sys is Table Accesso 2E Messages is Function but migrated as Message objecto Except ones used for EXCMSGo DDS edit word is migrated as edit mask via Label objecto 2E Sub-File (Grid)o Column Headings are added if missing in 2E panel design
9th CA 2E/CA Plex Worldwide Developer Conference
Photo Slide With Text
64
o Lorem Ipsum is simply dummy • text of the printing and typesetting
industry. Lorem Ipsum has § been the industry's standard dummy text
ever since the 1500s, when an ü unknown printer took a galley of type
and scrambled it to make a ü type specimen book.
o Hopefully, you won’t ever use 4th
& 5th level bullets
9th CA 2E/CA Plex Worldwide Developer Conference
Title
65
o Lorem Ipsum is simply dummy • text of the printing and typesetting industry. Lorem Ipsum has
§ been the industry's standard dummy text ever since the 1500s, when an ü unknown printer took a galley of type and scrambled it to make a
ü type specimen book. It has survived not only five centuries, but also the leap
o Hopefully, you won’t ever use 4th & 5th level bullets
9th CA 2E/CA Plex Worldwide Developer Conference
Timeline Design
66
2017 2018 2019
o There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in
o There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in
o There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in
Title
67
o Contrary to popular belief, Lorem Ipsum is not simply random
o Contrary to popular belief, Lorem Ipsum is not simply random
o Contrary to popular belief, Lorem Ipsum is not simply random
9th CA 2E/CA Plex Worldwide Developer Conference
9th CA 2E/CA Plex Worldwide Developer Conference 68
Series1
Series2
Series3
Category1 Category2 Category3 Category4
0-1 1-2 2-3 3-4 4-5
0
1
2
3
4
5
6
Category1 Category2 Category3 Category4
Series1 Series2 Series3
9th CA 2E/CA Plex Worldwide Developer Conference
Chart with texto Lorem Ipsum is simply dummy • text of the printing and typesetting
industry. Lorem Ipsum has § been the industry's standard dummy
text ever since the 1500s, when an ü unknown printer took a galley of type
and scrambled it to make a ü type specimen book. It has survived
not only five centuries, but also the leap
69
0
1
2
3
4
5
6
Category1 Category2 Category3 Category4
Series1 Series2 Series3
9th CA 2E/CA Plex Worldwide Developer Conference
Content Slide
70
o Lorem Ipsum is simply dummy text of the printing and typesetting
o Lorem Ipsum is simply dummy text of the printing and typesetting
o Lorem Ipsum is simply dummy text of the printing and typesetting
9th CA 2E/CA Plex Worldwide Developer Conference
Left Side
71
Lorem Ipsum is simply dummy text of the printing and typesetting
Right SideLorem Ipsum is simply dummy text of the printing and typesetting