Duration
7 hours
Overview
This course is intended for experienced Mainframe Programmers, particularly COBOL programmers who need to be able to use Java as an alternative language to COBOL and to use Java to extend enterprise systems to the Internet. A breakdown of code commonly used with Java programming is supplied, providing equivalent COBOL examples along the way.
Audience
Experienced Mainframe Programmers, particularly COBOL programmers
Prerequisites
Knowledge and experience of a procedural mainframe programming language, preferably COBOL. An understanding of Object Orientation, Java structures, and environments.
Objectives
After completing this course, the student will be able to:
- Understand Java as an alternative language to COBOL. (Java structures will be compared and contrasted to their COBOL equivalents.)
- Use Java to extend enterprise systems to the Internet.
Course Content
Defining Data
Java Primitive Data Types
COBOL Equivalent Data Types
Literals
Constants
Strings
Class Variables
Variable Scope
Casting
Working with Classes
Creating an Instance of a Class
Class Structure
Class and Instance Variables
Constructors
Overloading
Garbage Collection
Finalizers
Subclasses and Arrays
Hierarchy, Inheritance, and Abstract Classes
Creating and Implementing the Subclass
Overriding Methods
Arrays of Primitives
Arrays of Classes
Array Manipulation
Exceptions
How Exceptions are Handled and Coded
Passing Exceptions on
Triggering Exceptions
Java Error Classes
Creating Exception Classes
Computation
Arithmetic Operators
Bitwise Operators
Wrapper Classes
The Math Class
The NumberFormat Class
Decisions and Loops
If, Then, Else Structures
Nested Ifs
Case Structures
While Loops
Do Loops
For Loops
Nested Loops
Basic G.U.I. Methods
Abstract Windowing Toolkit (AWT)
GUI Classes
Graphic Classes
Geometric Classes
Layouts
Listeners
Producing GUI Applications
Producing an Applet to Run in a Browser
Swing
Swing Classes and AWT
Lightweight and Heavyweight Components
Pluggable Look and Feel (PLAF)
Converting an AWT Application to a Swing Application
Converting an AWT Applet to a Swing Applet