nTier’s Introduction to Java course is intended for programmers with experience in languages other than Java, but who may or may not have any previous Java experience. It focuses on procedural-coding skills first, and then offers meticulous, in-depth coverage of object-oriented concepts and how to apply them to Java software design and development. The latter part of the course moves from these basic skills into key parts of the Core API, including collections, exception handling and object serialization.

Students come to Java from a wide range of backgrounds, and this course is designed to be as flexible as possible for that reason.

Course Duration: 5 days
Prerequisites:

No prior Java experience is required, but students should be experienced programmers in another third-generation (high-level) language. This course can be customized to fit any skill level.

Course Objectives:
  • Chiefly, learn to program effectively in the Java language
  • Understand the Java software architecture and the design decisions that make Java software portable, efficient, secure and robust
  • Learn how to configure a simple Java development environment
  • Know the grammar, data types and flow control constructs of the Java language for simple procedural programming
  • Understand Java as a purely object-oriented language, and implement software as systems of classes
  • Implement and use inheritance and polymorphism, including interfaces and abstract classes
  • Design appropriate exception handling into Java methods
  • Understand the structure of streams in Java, and learn how to use streams to manage file I/O
  • Learn how to use Java Serialization to internalize and externalize potentially complex graphs of objects
Course Outline:
  • The Java Environment
    • Overview of Architecture
    • Forms for Java Software
    • Three Platforms
    • Java Virtual Machine
    • The Core API
    • Java Runtime Environment
    • Java SDK
    • Java Class Path
    • Portability and Efficiency
  • Language Fundamentals
    • Source File Format
    • Application Classes
    • Code Grammar and Expressions
    • Identifiers
    • Literals
    • Operators
    • Expressions
    • Calling Methods
  • Data Types
    • Primitive Types
    • Type Conversion
    • Numeric Types
    • Characters and Booleans
    • Java 1.5: Enumerations
    • Object References
    • Comparing and Assigning References
    • Strings
    • Arrays
  • Flow Control
    • The main Method
    • Calling and Returning from Methods
    • Conditional Constructs
    • Looping Constructs
    • Java 1.5: The For-Each Loop
    • Processing Arrays
    • Recursion
  • Object-Oriented Software
    • Complex Systems
    • Abstraction
    • Classes and Objects
    • Responsibilities and Collaborators
    • UML
    • Relationships
    • Visibility
  • Classes and Objects
    • Java Classes
    • Constructors and Garbage Collection
    • Naming Conventions and JavaBeans
    • Packages and imports
    • Relationships Between Classes
    • Using this
    • Visibility
    • Overloading Methods
    • JARs
  • Inheritance and Polymorphism in Java
    • Extending Classes
    • Using Derived Classes
    • Type Identification
    • Compile-Time and Run-Time Type
    • Polymorphism
    • Overriding Methods
    • Superclass Reference
  • Using Classes Effectively
    • Class Loading
    • Static Members
    • Statics and Non-Statics
    • Static Initializers
    • Prohibiting Inheritance
    • Costs of Object Creation
    • Strings and StringBuffers
    • Controlling Object Creation
  • Interfaces and Abstract Classes
    • Separating Interface and Implementation
    • UML Interfaces and Realization
    • Defining Interfaces
    • Implementing and Extending Interfaces
    • Abstract Classes
  • Collections
    • Dynamic Collections
    • Collections vs. Arrays
    • The Collections API
    • Abstraction: The Collection Interface
    • Vector, LinkedList, ArrayList
    • Reading Elements and Downcasting
    • Collecting Primitive Values
    • Algorithmic Programming
    • Iterators
    • Maps
    • Sorted Collections
    • Java 1.5: Generics
    • Java 1.5: Auto-Boxing
    • Java 1.5: Type-Safe Collections
    • Java 1.5: Variable Argument Lists
    • Java 1.5: Formatted Output
  • Exception Handling
    • Reporting and Trapping Errors
    • Exception Handling
    • Throwing Exceptions
    • Declaring Exceptions per Method
    • Catching Exceptions
    • The finally Block
    • Catch-and-Release
    • Chaining Exceptions
  • Inner Classes
    • Passing Behavior
    • Named Inner Classes
    • Outer Object Reference
    • Static Inner Classes
    • Anonymous Inner Classes
  • The Java Streams Model
    • Delegation-Based Stream Model
    • InputStream and OutputStream
    • Media-Based Streams
    • Filtering Streams
    • Readers and Writers
  • Working with Files
    • File Class
    • Modeling Files and Directories
    • File Streams
    • Random-Access Files
  • Advanced Stream Techniques
    • Buffering
    • Data Streams
    • Push-Back Parsing
    • Byte-Array Streams and String Readers and Writers
  • Java Serialization
    • The Challenge of Object Serialization
    • Serialization API
    • Serializable Interface
    • ObjectInputStream and ObjectOutputStream
    • The Serialization Engine
    • Transient Fields
    • readObject and writeObject
    • Externalizable Interface