WA1538 Introduction to Java using JBuilder 2006 Training and Courseware Course Outline

1. Orientation

  • Introduction
  • Overview of JBuilder
  • Java Basics
  • Branching and Looping
  • Arrays
  • Objects
  • Advanced Class Concepts
  • Exceptions
  • Stream I/O
  • Servlets
  • Java Server Pages
  • Enterprise Java Beans Programming - Overview
 

2. Introduction

  • Overview
  • History of Java
  • Goals of Java
  • Java Virtual Machine
  • The JVM - Continued
  • Garbage Collection
  • Hello World An Example
  • Java Versions
  • Summary
 

3. Overview of JBuilder 2006

  • Objectives
  • History of JBuilder
  • The JBuilder family
  • JBuilder Foundation Edition
  • JBuilder Developer Edition
  • JBuilder Enterprise Edition
  • CodeInsight and ErrorInsight
  • Key Features in JBuilder Enterprise Edition
  • Enterprise Application Development in JBuilder Enterprise Edition
  • Web Development in JBuilder Enterprise Edition
  • Web Services in JBuilder Enterprise Edition
  • Summary
 

4. Java Basics

  • Objectives
  • Comments
  • Semicolons and White Spaces
  • Blocks
  • Identifier
  • Keywords
  • Primitive Data Types
  • Logical - boolean
  • Textual char and String
  • Integral byte, short, int, long
  • Floating Point - float and double
  • Understanding Objects
  • Creating a New Type
  • Declaring a Variable
  • Creating an Object
  • Wrapper Classes for Primitive Types
  • JVM Storage Areas
  • Scope of a Variable
  • Arithmetic Operators
  • Using Arithmetic Operators
  • Assignment Operators
  • Logical Expressions
  • Short-Circuit Logical Operators
  • String Concatenation with +
  • Bitwise Operators
  • Bitwise Example
  • Conditional Expression
  • Casting
  • Packages
  • Console I/O
 

5. Branching and Looping

  • Objectives
  • Conditions
  • The if Statement
  • The if Statement An Example
  • The if .. else Statement
  • Logical Operators and the if..else Statement
  • The switch Statement
  • The switch Statement An Example
  • The while Statement
  • The while Statement An Example
  • The do while Statement
  • The do while Statement An Example
  • The for loop
  • The for loop An Example
  • For-each loop
  • Break and Continue
  • The break Example
  • The continue Example
  • Labeled break Example
  • Labeled continue Example
 

6. Objects

  • Objectives
  • Object Oriented Programming
  • Creating your own Data Type
  • Class Members
  • Methods
  • Writing a Method An Example
  • Calling a Method An Example
  • Pass-by-Value
  • The this keyword
  • Data Hiding
  • Encapsulation
  • Overloading
  • Constructing and Initializing Objects
  • Constructors
  • Invoking an Overloaded Constructor
  • Default Constructor
  • Inheritance
  • Inheritance An Example
  • Constructors Are Not Inherited
  • Polymorphism
  • Conditions for Polymorphism
  • The super Keyword
  • The instanceof Operator
  • Casting Objects
  • Overriding
  • Invoking Parent Class Constructors
 

7. Arrays

  • Objectives
  • Arrays
  • Declaring Arrays
  • Creating Arrays
  • Accessing Arrays
  • Initializing Array
  • Multidimensional Arrays
  • Copying Arrays
 

8. Advanced Class Concepts

  • Objective
  • Objectives
  • Static Class Variables
  • Static Class Variables
  • Class vs. Instance Variables
  • Static Class Methods
  • Static Initializers
  • The final Keyword
  • Abstract Classes
  • Abstract Class An Example
  • Interface
  • Interface An Example
  • Access Modifiers
  • Using == vs. equals()
  • The toString() method
  • Covariant Return Types
  • Inner/Nested Classes
  • Kinds of Inner Classes
  • Inner Classes - an Example
  • Generics
  • Generics-Example
 

9. Exceptions

  • Objectives
  • What is an Exception
  • Benefits
  • How to Work With Exception
  • An Example
  • The try-catch-finally Statement
  • Flow of Program Control
  • Checked Exceptions
  • Unchecked Exceptions
  • Catching Multiple Exceptions
  • Rethrowing Exceptions
  • Exception Thrown by a Method
  • The Exception Class
  • Creating your Own Exception
 

10. Stream I/O

  • Objectives
  • File I/O
  • The File Class
  • File Example
  • Input Stream
  • Input Stream Methods
  • Output Stream
  • Output Stream Methods
  • DataInputStream & DataOutputStream
  • DataInput Stream
  • DataOutputStream
  • FileInputStream & FileOutputStream
  • FileInputStream Methods
  • FileOutputStream
  • FileOutputStream/DataOutputStream
  • FileInputStream/DataInputStream
  • Reader and Writer
  • Why use Reader and Writer ?
  • Reader Example
 

11. Servlets

  • Objectives
  • Java Servlet
  • Responsibilities of a Servlet
  • The Servlet Life Cycle
  • The Servlet Life Cycle-Cont d
  • First Servlet - HelloWorld
  • Retrieving Form Fields
  • Retrieving Form Fields an Example
  • Session Tracking
  • Session Tracking an Example
  • Session Tracking an Example
 

12. JavaServer Pages (JSP)

  • Objectives
  • What are JavaServer Pages
  • JSP Benefits
  • How JSP Works
  • JSP Invocation
  • First JSP hello.jsp
  • Invoking hello.jsp
  • Compiled JSP Servlet Code
  • JSP Expressions
  • JSP Scriptlets
  • JSP Scriptlet An Example
  • Implicit Objects
  • Hello JSP World An Example
  • JSP Directives
  • Attributes of Page Directive
  • Page Directive An Example
  • Retrieving Form Fields An Example
  • Session Tracking - An Example
  • Servlet to JSP Communication
 

13. Enterprise JavaBeans Programming Overview

  • Objectives
  • Needs for EJB
  • What are EJBs?
  • Characteristics of EJBs
  • The EJB Architecture
  • EJB Server
  • EJB Containers
  • EJB Classes and Interfaces
  • Enterprise JavaBeans
  • Session Beans
  • Entity Beans
 

14. The AWT

  • Abstract Window Toolkit
  • Foundations of AWT
  • Components
  • Containers
  • Creating an Empty Frame
  • Layout Manager
  • Adding a Component
  • Absolute Positioning
  • Common Layout Manager
  • FlowLayout
  • BorderLayout
  • GridLayout
 

15. The AWT Event Model

  • The AWT Event Model
  • Terminology
  • Event Handling
  • How to implement?
  • Multiple Event Source
  • Multiple Listener
  • Event Adapters
  • Which to Use?
  • How to Use?
  • Inner Class
  • Continuation of Inner Class
  • Anonymous Class
 

16. AWT Components

  • AWT Components
  • The Component class
  • Container and Components
  • Button
  • Code - Button
  • Label
  • Code - Label
  • Text Components
  • TextField
  • Code - TextField
  • TextArea
  • Code Text Area
  • Checkbox
  • Code - Checkbox
  • CheckboxGroup
  • Code - CheckboxGroup
  • Choice
  • List
  • Code - List
  • Canvas
  • Code - Canvas
  • Menu Components
  • Code Menu Components
 

17. Java Foundation Classes (JFC)

  • Java Foundation Class (JFC)
  • What is JFC?
  • Swing
  • Swing Hierarchy
  • Building GUI with Swing
  • Swing Code
  • More on Swing Code
  • To Convert AWT to Swing
  • JComponent
  • Limitations of Swing
  • Separable Model Architecture
 

18. Applets

  • Applet
  • What is an Applet?
  • Applets vs. Applications
  • Applet Security
  • Writing an Applet
  • Life Cycle of an Applet
  • Our First Applet
  • Basic HTML for an Applet
  • AppletViewer
  • AWT Painting
  • Applet Tags
  • Example of Reading Parameters
  • Applet and AWT
  • Applets and AWT (continued)
  • More on Applet Tag