• Decrease font size
  • Default font           size
  • Increase font size

Introduction to Java 5

Print E-mail

Training Description

This course provides a guided, in-depth introduction to the Java programming language, highlighting key benefits and features. Students will learn about object-oriented programming concepts, Java's core packages, creating graphical user interfaces with Java, and file input and output from within Java.

Training Objectives

As a result of taking this course, you will be able to:

  • Describe and obtain an overview of Java's capabilities, benefits and features.
  • Define object oriented programming concepts and their implementation in Java.
  • Utilize classes from Java core packages in a Java application.
  • Create a graphical user interface (GUI) using Java classes.
  • Program using Java event listeners.
  • Build programs that directly read and write operating system files from within Java.

Prerequisites

Prior programming experience with any procedural or object-oriented language. Experience with SQL is helpful. Experience with graphically- oriented IDEs, such as Eclipse, is helpful.

Training Outline

Introduction and Overview

  • Benefits and Features of Java
  • The Java Virtual Machine
  • Java's Core Packages
  • The Java Developer's Kit
  • Applets vs. Applications
  • Object References
  • Variables and Arrays
  • Methods: Java's Functions
  • Control Flow
  • Exercise

Object-Oriented Programming (OOP) in Java

  • Define Object-Oriented Programming Concepts
  • Describe How Java Implements Object-Oriented Programming
  • Explain the Structure of Classes
  • Examine How Simple Inheritance is Used
  • Identify Class and Variable Access Modifiers
  • Encapsulation
  • Polymorphism
  • Packages
  • Exercise

Java Core Packages

  • What are Packages
  • Lifecycle of a Java Object
  • Memory Management and Garbage Collection
  • The lang Package
  • The util Package
  • The net Package
  • The awt Package
  • The io Package
  • The applet Package
  • Applets and HTML
  • Events in the Lifetime of an Applet
  • Exercise

Java AWT and JFC

  • Explain How to Construct a Graphically-Oriented Interface in Java
  • Describe the Classes that Comprise the Abstract Windowing Toolkit
  • Demonstrate the Graphically-Oriented Java Foundation Classes
  • Illustrate How the Event-Listener Mechanism Handles Events
  • Exercise

File I/O

  • Manipulate Files, Directories and Their Contents from Within Java Applications
  • Discover How to Open and Close Files from Within a Java Application
  • Explain How to Read Files from Within a Java Application
  • Demonstrate How to Write Files from Within a Java Application
  • Demonstrate How to Use Formatting Specifiers to Construct Custom Output
  • Exercise

Object Serialization

  • Describe the Fundamentals of Object Serialization
  • Explain How to Implement the Serializable Interface
  • Show How Access Qualifiers Affect Serialization
  • Examine How to Override Default Serialization Behavior
  • Define Which Classes Provide Their Own Serialization Behavior
  • Exercise

Threads, Exception Handling and Assertions

  • Describe Threads and Multithreading
  • Create Multithreaded Programs
  • Utilize Thread Modifiers
  • Explain Exception Handling
  • Create Programs with Exception Handling
  • Build Programs with Assertions
  • Exercise

Dates, Numbers and Strings

  • Define Java Date and Number Classes
  • Explain How to Instantiate and Use the DateFormat and NumberFormat Classes
  • Describe How to Use the Scanner Class to Tokenize Input
  • Tell How to Use the Split Method of the String Class to Split a Text String
  • Exercise

Networking Java Applications

  • Using Java to Network Applications
  • Applets vs. Standalone Programs
  • The URL Class
  • Sockets and ServerSockets
  • Implementing a TCP/IP Server
  • Protocol and Content Handlers
  • Exercise

Generics and Collections

  • Explain How to Use Sets, Maps, Lists and Queues
  • Describe How to Sort and Search Collections and Arrays
  • Show How to Use Generics for Compile-Time Type Safety
  • Explain How to Mix Legacy Code with Generic Code
  • Exercise

Database Connectivity

  • JDBC and How it Works
  • Database Access Methods
  • The DriverManager Class
  • Database Connection URL
  • Drivers and JDBC Architecture
  • Connection and Statement Interfaces
  • ResultSets and Data Manipulation
  • Exercise

Key Topics and Feature Review

  • Review Key Features of the Java Language and Development Environment
  • Highlight Key Topics Covered During the Series