th CA 2E/CA Plex Worldwide Developer...

21
9 th CA 2E/CA Plex Worldwide Developer Conference 1

Transcript of th CA 2E/CA Plex Worldwide Developer...

Page 1: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference 1

Page 2: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

Speakers

2

Abram DarnutzerSenior Developer -CMFirst

Jason OlsonSenior Consultant -CMFirst

Page 3: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

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

Page 4: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

CM M3 Overview

Web/MobileASAP

ReuseCodeBaseandLayout

Page 5: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

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

Plus:

•Native code modernization

•Replatform from IBM i - AS/400

•Regression testing

RobustPlex/JavaEnvironment(forAPIs/SOA,Web,Mobile)

Page 6: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

High Level Process Model

Page 7: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

Migration Decision Process

AutomatedAnalysis

POCPrototype

DeepAnalysis

Go/NoGo

Results,Plan,Proposal

AutomatedObjectsFixed

Price

Page 8: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

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)

Page 9: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

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

Page 10: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

How it works?

UnitTest

Commit

BuildQA

Development2EModel XML Plex

Model

Automation

ContinuousIntegration

Page 11: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

Manual Steps and Limitations

11

Page 12: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

Standard Manual Refactoring

12

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

Page 13: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

Non-Standard Manual Refactoring

13

o Special columns that require changes in the column heading for special purposeso Special fields 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

Page 14: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

Limitations

o PRTFIL and PRTOBJ • Report designs and Action diagrams aren’t migrated• Can be executable as DDS Report on the iSeries

o EXCUSRSRC• Needs to be analyzed and reworked for the new Environment

Page 15: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

Replatforming

15

Page 16: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

What is possible?

16

o After migrating, there is nothing in your Plex model that is tying you to the iSeries

o Database possibilities are anything that can be connected to using JDBC/ODBC

Page 17: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

New Possibilities

17

o Migrating and Replatforming is not just moving your database and changing your code language

o Opportunity to do things bettero Rethink the UI/UX• Can things be done better?

§ More Efficient§ More User Friendly§ More Intuitive

Page 18: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

Challenges

18

o EXCUSRPGM• While on the iSeries, the application can call these directly• If/when you move away, these will need to be reworked for the application

o Reporting• Any reporting that was done on the iSeries will need to be reworked• Presents an opportunity to enhance reporting• For example, Crystal Reports is directly supported in WebClient

o Data Access Efficiency

Page 19: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

Data Access Efficiency

19

o What could be ok in DB2, may not be efficient in JDBCo Minimize the number of data sets processedo Minimize the number of records processed in the data set• Filter records during the Select, not after

o Combine queries into a single query

Page 20: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

Q&A

20

Page 21: th CA 2E/CA Plex Worldwide Developer Conferencecmfirstgroup.com/wp-content/uploads/2017/10/Plex2e2017_Day03_Und… · oCA 2E (Synon) models & generated applications oNative Code:

9th CA 2E/CA Plex Worldwide Developer Conference

Contact

21

Email: [email protected]: https://support.cmfirstgroup.com/