Ibm i-modernization

25
Tom Presotto IBM i MODERNIZATION

description

IBM i modernization leveraging SOA and Cloud.

Transcript of Ibm i-modernization

Page 1: Ibm i-modernization

Tom Presotto

IBM iMODERNIZATION

Page 2: Ibm i-modernization

Why modernize ?

• Your CEO:

• “… the AS/400 is old” “ ….we need a modern open platform”

• Because of the:

• Power ?

• RAS ?

• TCO ?

• Or …….. Green on Black

UI

Page 3: Ibm i-modernization

5250 UI = OLD

• Old programs, although proven and reliable, are erroneously considered old because of the UI

• Many RPG programmers still write new application the same way they did 29 years ago: monolithic code; 5250.• Web services support present since 2004 with

IBM WAS

• APIs and libraries to develop Web Interfaces are available since many years

Page 4: Ibm i-modernization

Three IBM approaches

Reface

Restructure

Rewrite

Page 5: Ibm i-modernization

Reface

• Significant amount of time and effort

• Learning new tools

• Proprietary APIs

• Is a Window–like GUI really a modern GUI ?

• What if nobody is impressed ?

• Payoff: only if you invest even more effort in learning how to use the additional customization tools.

Page 6: Ibm i-modernization

Reface tools

• ASNA Wings – one of the few ready for Rational Open Access r RPG Edition

• EDM Webgate400

• Newlook

• Axes

• IBM Hats

• Jwalk

• ……

• ……

Page 7: Ibm i-modernization

Rational OA RPG Edition

• Connects any type of UI:• Browser • Green screen• Remote DB • XML• Web Services• Others

• APIs that use traditional RPG input/output codes.

• You need a kind of third party Device Driver

Page 8: Ibm i-modernization

Restructure

• Means splitting the code into 3 layers according to the MVC model

ModelView – Controller

Business RulesView Controller

Database

Tier Presentation Logic Data

• Separating the presentation layer from monolithic RPG applications could result in a very complex task

Page 9: Ibm i-modernization

Restructure phase I

9

OS/400

RPG

5250Business Logic

DB access

OS/400

RPG

RPG

5250

Business LogicDB access

Page 10: Ibm i-modernization

Restructure phase II

OS/400

RPG

Business LogicDB access

WAS, Apache

JAVA or PHPGUI

Page 11: Ibm i-modernization

Rewrite

• Long process

• Manual migration from RPG to another language

• Preserve the investments done in writing the BL

• X-analysis 8 can help Discover and understand RPG applications• www.databorough.com

• The plug-in version of X-Analysis is fully integrated with IBM Rational Developer for i and IBM® WebSphere® Development Studio Client

Page 12: Ibm i-modernization

The need of a C.A.S.E.

RPG

Presentation

Layer

Business

Logic

Data

Access

LayerDB

VIDEO C.A.S.E

WEB

SOA

Rich

Client

Presentation

Layer

JAVA or PHP

• SFTW Reuse

• Standard naming

• 20 pre-defined structures cover 90% of the processes

• Self documentation

• Unambiguous variables

www.revorg.com

Page 13: Ibm i-modernization

Why use PHP ?

• 4+ million developers

• Over one-third of the Web runs on PHP

• No need to learn OO

• Multitude of OO functions – most free – available.

• PHP allows to program in a fundamentally procedural fashion.

Page 14: Ibm i-modernization

PHP advantages

• Easy access to new technology

• As new technology emerges it appears very rapidly in PHP

• Huge amount of free educational, mentoring, support, manual, documentation, samples, forums, community, etc

• More PHP programmers in the world than there are RPG programmers

• Low learning curve

• Easy integration

• Scalable & Secure

• Runs completely on your good old “i”

Page 15: Ibm i-modernization

ZEND PHP and IBM i

• Zend Server community edition • Preloaded with IBM i 5.4, 6.1 and 7.1

• Zend Studio for IBM i• Can be downloaded from Zend’s website

• Dedicated IBM i APIs• Includes extensions and a toolkit to access DB2 and

applications on IBM i

• Zend 5250 bridge

• Connects interactive 5250 RPG programs from PHP and expose them as Web Services

Page 16: Ibm i-modernization

Migration to Windows

• Why migrate to a platform with:

• Higher TCO

• Greater complexity

• Extra components

• Requires heterogeneousskills

Page 17: Ibm i-modernization

ASNA makes it easy

ASNA Visual RPG for Microsoft Visual Studio .NET

• Monarch

• Monarch is a comprehensive tool that transforms IBM iapplications originally written RPG into native .NET applications.

• For a complete platform migration, Monarch converts your iSeries database to SQL Server.

Page 18: Ibm i-modernization

Tom’s opinion

systeminetwork.com/article/modernisation-use-your-as400

My article 13 October 2010 on:

Page 19: Ibm i-modernization

Tom’s opinion

• Don’t touch the RPG code

• If you need a quick solution: reface

• Make your IBM i a bulding block of a SOA architecture

• Add new components using either PHP or JAVA

• Expose BL components using Web Services

Page 20: Ibm i-modernization

W

S

W

S

Cloud ComputingW

S

W

S

W

S

Use the PHP stack to easily expose and

consume other platforms’ services using standard Web

Services

Preserve your RPG business logic

Page 21: Ibm i-modernization

IBM i and Cloud Computing

• Build your “private cloud” around IBM i

• Give all your application a Web GUI

21

POWER7 in the CloudsIBM has expanded its CloudBurst family of private cloud appliances to

include a new POWER7-based

unit, as well as offer the brains of CloudBurst as a software solution

capable of installation on a company's

currently installed system. IBM's previous CloudBurst solution was x86

for IBM BladeCenter, but this new POWER7 option, IBM CloudBurst v2.1

on Power Systems,

is based on IBM Power 750 servers. The "appliance" can support from

160 up to 2,900 virtual machines and securely keep the data in those

applications separate. T

he operating systems that run on POWER7, of course, are AIX, IBM i,

and Linux.

Incidentally, IBM estimates that private clouds built on Power systems

can be up to 70 percent less expensive than stand alone x86 servers.

Page 22: Ibm i-modernization

What’s the right interface ?

• Too often the wrong reason behind the abandon of a midrange reliable system

• Modern tools allows easy UI to GUI mapping• Not always a modern GUI is the right choice • 5250-UI is still the fastest way for data-entry

operators• Multi-touch screens, hand-gestures or eye-

movements recognition devices can be easily “connected” using SOA Web Services to access the Business Logic components.

22

Page 23: Ibm i-modernization

Executives

Middle tier

Data entry

The right interface for the right audience

Page 24: Ibm i-modernization

Innovative approaches - VIDEOS

• Revorg: MyPower

• www.revorg.com

• Blusys: Mplug

• www.blusys.it

• Prodigity : multi-touch for IBM i

• www.prodigyt.it

Page 25: Ibm i-modernization

Need more Information ?

Email me: [email protected]