The simple way to have Java applications with CA-Datacom
Need a GUI interface to your CA-Datacom data? This is the easy way!
sponsored by Computer Associates
managed & organised by QED Business Systems
Abstract
Theres no reason why developers of non-mainframe applications shouldnt benefit from using data in mainframe CA-Datacom. This session explains a straight-forward and highly effective approach to having Java applications that can access and maintain data in mainframe CA-Datacom. Users prefer GUI interfaces to mainframe green screens, and using Java brings many benefits to application development. This session introduces these benefits to the non-Java audience, and shows how these benefits can be further enhanced by linking with CA-Datacom.
sponsored by Computer Associates managed & organised by QED Business Systems
Agenda
What is Java? Accessing CA-Datacom from Java Demo of doing this the easy way! Why do it? Summary
sponsored by Computer Associates
managed & organised by QED Business Systems
What is Java?
sponsored by Computer Associates
managed & organised by QED Business Systems
What is Java?
Programming language Runtime system Development tools Java Virtual Machine Interpreter Executes byte codes Standard class file format Ported to many hardware platforms
sponsored by Computer Associates
managed & organised by QED Business Systems
A brief history of Java
1990 - James Gosling & colleagues, Sun Microsystems, develop Oak 1995 Java freely available from Sun 1998 Java 2 incorporates additional features
sponsored by Computer Associates
managed & organised by QED Business Systems
Java Background
Massive marketing by Sun Arrival of world wide web Requirement for architecture-neutral language Vast body of technical expertise
sponsored by Computer Associates
managed & organised by QED Business Systems
Java Features
Simple language similar to C++ Object-oriented focus on data & interface Distributed Robust, Secure
sponsored by Computer Associates
managed & organised by QED Business Systems
More Java Features
Architecture-neutral Portable Interpreted High performance, Multi threaded Dynamic
sponsored by Computer Associates
managed & organised by QED Business Systems
Java Terms & Concepts
Objects everything is considered an object Classes a particular type of object Encapsulation combining data & code into a single object Inheritance the derivation of one class from another Polymorphism ability to assume several different forms or shapes; the ability of a single variable to invoke different methods, depending upon what the variable contains
sponsored by Computer Associates managed & organised by QED Business Systems
Java Basics
Source code
App.java
Compiler
Javac App.java
Byte Codes Interpreter
Java VM Windows
sponsored by Computer Associates
App.class
Java VM Linux
Java VM z/OS
managed & organised by QED Business Systems
My first Java program
Program container
public class Hello { }
Main method
public static void main (String[] args) { }
Statement
System.out.println(Hello World);
sponsored by Computer Associates managed & organised by QED Business Systems
Java Platform
Java Virtual Machine Java API
sponsored by Computer Associates
managed & organised by QED Business Systems
A few Java definitions
J2EE Java 2 Enterprise Edition