flexible delivery options
TRANSCRIPT
What new in the latest update Deployment Options What is managed code and why should you care Moving to managed code
Agenda
New capabilities for working with Microsoft Visual Studio 2013 and Microsoft .NET 4.5
New platform support for Windows 8.1, Oracle Linux 6.5, Red Hat Linux 6.5 and AIX 7.1
Many enhancements to increase runtime performance JDBC Connection Sharing And more …..
What’s New in 2.2 Update 1
Visual COBOL
Improved Assembler development capabilities Improved database compatibility and new platform support
DB2 LUW 10.5, Oracle 12.1
Support for drag and drop from mainframe to local catalogs Improved Spool file performance Improvements to PL/I support Enhanced Rumba Integration And more …..
What’s New in 2.2 Update 1
Enterprise Developer
IBM Mainframe
Native Code INT / GNT EXE /DLL / SO
Managed Code JVM .NET
Deployment Options
Architectures
Virtual execution environment
• Portable Intermediate Language
• JIT Garbage collection Object-oriented Extensive frameworks/Class Libraries COBOL code generated directly to byte code
What is Managed code
1 C2 Java3 Objective-C4 C++5 C#6 Visual Basic7 PHP8 Python9 JavaScript
10 Visual Basic .NET11 Transact-SQL12 Perl13 Ruby14 ActionScript15 F#16 Lisp17 Delphi/Object Pascal18 Pascal19 MATLAB20 Assembler
1 C2 Java3 Objective-C4 C++5 C#6 Visual Basic7 PHP8 Python9 JavaScript
10 Visual Basic .NET11 Transact-SQL12 Perl13 Ruby14 ActionScript15 F#16 Lisp17 Delphi/Object Pascal18 Pascal19 MATLAB20 Assembler
Why managed code
How popular is managed code?
www.tiobe.com
1 C2 Java3 Objective-C4 C++5 C#6 Visual Basic7 PHP8 Python9 JavaScript
10 Visual Basic .NET11 Transact-SQL12 Perl13 Ruby14 ActionScript15 F#16 Lisp17 Delphi/Object Pascal18 Pascal19 MATLAB20 Assembler
Why managed codeApplication Integrity
Micro Focus COBOL runtime error:114 Attempt to access item beyond bounds of memory (Signal 11)
Debug C#/Java and COBOL together End-to-end testing Single IDE for building and testing Single debug process Same developer
Why managed codeEnd-to-end debugging
What is managed code? Different perspectives on why deploy to .NET or JVM? Some lessons learned
Moving to managed code
.NET/JVM are fundamentally built on OO principles Procedural semantics still apply Visual COBOL extensions Samples browser 12 week OO Programming Webinar Series
Object Oriented Programming
Good to go in .NET and JVM Be mindful of performance for IO intensive batch operations Significant improvements to file handling operations with Visual
COBOL VC 2.2+
File Handling
COBOL programs can contain embedded SQL
Your choices:
1. Database vendor pre-compiler such as Oracle Pro*COBOLa) COBSQL provides single compile-step integrated with the IDE
2. Micro Focus OpenESQLa) Connect to any ODBC, JDBC, ADO.NET enabled data source
Database access Primer
procedure division.
exec sql connect to Northwind end-exec
if sqlcode not = 0 display "Error during CONNECT : " SQLCODE display mfsqlmessagetext goback end-if
Oracle does not support managed code using Pro*COBOL Use OpenESQL for JDBC and ADO.NET Use Pro*COBOL directives MODE=ANSI and FIPS to determine
non-standard ANSI syntax Some Oracle extensions supported by OpenESQL other
extensions will need to be reworked No PL/SQL support
Database access under Managed Code
You’ll need a JDBC driver from the database vendor JDBC Data Source Object vs JDBC Connection String Share Database Connections between Java and COBOL
• Java Owns – COBOL BIND Connection
• COBOL Owns – COBOL GET CONNECTION Don’t forget to add JDBC / JNDI driver to the project Host Variables can be native COBOL or JCM data types Compile with Open ESQL is easiest
SQL in a JVM Environment
To do anything “Thin” will involve an app server All major Java App Servers supported in Visual COBOL 2.2
• Tomcat
• JBOSS
• Webshere
• WebLogic Web Services and JSPs Java coding required
See community.microfocus.com for walkthrus
Java App Servers
COBOL JVM Roadmap
R3/4JVM COBOL PreviewJVM COBOL Launch
2.0JDBC supportPure JVM
2.1Web Container support under TomcatWeb services, JSP and Servlet deployment
2.2Web container supportWebLogicWebsphereJBOSS
2.3EJB container deployment
From desktop to J2EE EJB deployment…
…re-use core COBOL applications directly within the Java Virtual Machine
• COBOL, Java or C#, VB…Presentation
• OO COBOL Wrapper• Run unitBusiness Access
• Existing Procedural COBOLBusiness logic
• Isolated data IO modulesData Access
• RDBMS• Data filesData
Modernizing your architecture
Micro Focus Product Documentation Visual COBOL Forum at the Micro Focus Community Site http://community.microfocus.com – Our community Site Managed Code Tutorial in the Product Documentation OO Programming Webinar Web Based Training Resource
Resources to get you started
Deploy managed and verifiable COBOL applications into the .NET Framework to quickly launch new business initiatives using the latest technologies
Utilize greater extensibility and integration capabilities within the .NET framework
Deploy contemporary user interfaces in COBOL under .NET to improve usability and productivity
Reusing and Extending COBOL Cod e in the .NET Framework Windows Communication Foundation (WCF) and Web services
support
Enterprise Server for .NET
Managed code is a fantastic way to modernize your application
• Get more done using Java and .NET frameworks
• Create new user interfaces and services based deployments Be prepared
• New skills – OO, Java, .NET, frameworks
• Check for unsupported options such as APIs and database pre-compilers
Speak to Micro Focus before you start or at least, let us know once you’ve deployed!
Summary