developer conference 2.6 - (skills and development efficiency) modernizing your apps with visua…

19
Modernizing your applications with Visual COBOL Michael Bleistein & Scot Nielsen

Upload: micro-focus

Post on 22-Apr-2015

417 views

Category:

Documents


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

Modernizing your applications with Visual COBOL

Michael Bleistein & Scot Nielsen

Page 2: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

Key Concepts

User Interface Modernization for Net Express & Server Express applications

• User Interface modernization using .NET or Java/JVM • Thick Client/desktop applications • Thin Client/browser applications

• Modernizing using web services • BYOD

• Best Practices and considerations for COBOL UI modernization

Page 3: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

Universal Deployment with COBOL Server rapid, cost-effective, flexible service delivery with Visual COBOL

Cloud .NET JVM

INNOVATE CHOOSE DEPLOY

Application Virtualisation: Mobile, SaaS and cloud-based solutions

Unix Linux Windows

Page 4: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

Native Code Generator

Visual COBOL Deployment Agility

Native code

MSIL code

Byte code

COBOL source

INT code

Micro Focus compiler

COBOL is the unique solution The fastest & lowest risk route to Java or

.NET

Page 5: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

• .NET based UI

– Window Forms (WinForms)

– Windows Presentation Foundation (WPF)

Take advantage of Visual Studio’s built-in UI design tools…but generate COBOL

• Java based UI

– AWT, SWT

– Swing

Take advantage of Java UI design tools…and call COBOL compiled as a Java Class

5

Desktop UI modernization with Managed Code

Page 6: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

6

Design Tools with Visual COBOL and .NET

Page 7: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

7

Design Tools with Visual COBOL and Java

Page 8: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

• Replace a screen with a Windows Form

• Wrap a .NET user

control as an ActiveX and use that in Dialog System

Modernizing Dialog System apps

Page 9: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

• .NET Web Service

– WCF - Windows Communication Foundation

• COBOL JVM and Java App Servers

– Deploy Java and COBOL together under Tomcat

– Use Java to provide web service and call COBOL on the back end

• Web Services – Enterprise Server

– Native code support for web services and J2EE app server deployment

9

Service based modernization with Visual COBOL

Page 10: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

10

Best Practices

Page 11: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

• Existing Micro Focus COBOL in many cases can be compiled as-is or with very little changes.

• One set of existing COBOL source can be reused on multiple platforms (Native, .NET, or even JVM)

• Provides for a clean and easier to maintain architecture

• COBOL.NET class interfaces with “other” .NET languages in an object oriented way – Class Definition, Methods, Properties

• Methods in COBOL.NET class can call legacy COBOL with standard COBOL syntax:

– CALL “program” USING… or CALL WS-PROGRAM USING…

Keep Existing COBOL portable where possible

Page 12: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

• Gives you more options as new technologies come along

• I/O Layer, UI Layer, Services, Layer, Business Rules layer

• Gives flexibility within the application as well makes it more open to other applications and re-use

Begin separating layers of the application

Page 13: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

• Without changing one line of COBOL, allows existing procedural COBOL to run in multi-user applications

• Classes provided a runtime service classes that can be used by any .NET language that needs to use legacy COBOL in multi-user applications

• Only needed at the top level class that is calling the procedural COBOL. Any called modules below are also protected.

• Absolutely necessary in server or multi-user .NET applications – Code at executed ON the server by many users

• Allows you to bring valuable existing business logic forward into .NET server applications

• Provided in MicroFocus.COBOL.RuntimeServices assembly

• RunUnit class

Procedural COBOL re-use in Multi-User applications

Page 14: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

Demonstration

Page 15: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

Demo Architecture

15

Client

COBOL JVM

Server

WCF COBOL .NET

Server

Page 16: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

Things to remember…

• Where and how you want to deploy your applications will help determine your modernization strategy

• Visual COBOL provide a number of choices for modernizing your existing COBOL

• Choices are enabled by support for and integration into modern development IDEs and associated technologies

• Test Drive a Visual COBOL app in the cloud:

http://vcdemo.microfocus.com/airportdemo

16

You don’t have to take the B out of COBOL for it to be COOL!

Page 17: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…

Demonstration

Page 19: Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing your Apps with Visua…