Fast Track to Java 11 and OO Development

Course duration

Course Benefits

  • Understand Java’s importance, uses, strengths and weaknesses
  • Understand the release cycle and Long Term Support (LTS) releases
  • Understand Java language basics
  • Write, compile, and run Java programs
  • Use the Java shell (JShell - Java 9+) for interactive programming
  • Understand the Object Model and Object Oriented Programming
  • Understand and use classes, inheritance, polymorphism
  • Create well designed classes and use them in your Java programs
  • Use composition and delegation to create objects from other objects
  • Understand & use packages to organize code
  • Understand and use Java 9 modules
  • Understand interfaces, their importance, and their uses
  • Use interfaces to implement abstraction
  • Learn good Java coding style
  • Create well structured Java programs
  • Compile and execute programs with the JDK development tools and with an Integrated Development Environment (IDE) of your choice
  • Use the core Java libraries (java.lang, java.util)
  • Understand & use exceptions for error handling
  • Understand the basics of using JDBC and JPA, and use them to access databases from Java
  • Use the Java Collections Framework including new API introduced in Java 9-11
  • Use other new features such as type inference
  • Be aware of, and use the new features of Java 9-11, as well as important advanced features of earlier Java versions

Course Outline

  1. A First Look
    1. A Simple Java Class
    2. Java's "Hello World" Program
    3. The Java Shell (REPL)
    4. LAB: Hello World: A Simple Application
  2. Java Basics
    1. Language and Platform Features
    2. The Java Release Cycle
    3. Program Life Cycle
    4. The Java SE Development Kit (JDK)
    5. LAB: Working with the Development Environment
  3. Class and Object Basics
    1. The Object Model and Object-Oriented Programming
    2. Classes, References, and Instantiation
    3. Adding Data to a Class Definition
    4. Adding Methods (Behavior)
    5. LABS
      1. Exploring Types and Object Instances
      2. Writing and Using a Class Definition with Fields and Methods
  4. More on Classes and Objects
    1. Accessing data, the "this" variable
    2. Encapsulation and Access Control, public and private Access
    3. Constructors and Initialization
    4. static Members of a Class
    5. Type Inference (Java 10+)
    6. Scopes, Blocks, References to Objects
    7. Type-safe Enums
    8. LABS
      1. Encapsulation / Access Protection
      2. Writing and Using Constructors
      3. (Optional) Static Members
      4. Using enums
      5. Using the Debugger
  5. Flow of Control
    1. Branching: if, if-else, switch
    2. Iteration: while, do-while, for, break, continue
    3. LAB: Flow of Control / Data Validation
  6. Strings, Arrays, and Dates/Times
    1. String, StringBuffer, StringBuilder
    2. Arrays, Primitive Arrays, Arrays of Reference Types
    3. varargs
    4. LocalDate/LocalTime (Java 8+)
    5. LAB: Using Strings and Arrays
  7. Packages and Modules
    1. Package Overview - Using Packages to Organize Code
    2. import statements
    3. Creating Packages, package Statement, Required Directory Structure
    4. Java 9 Module Overview
    5. Defining Modules, Requires, and Exports
    6. Module Path and Classpath - Differences and Coexistence
    7. LAB: Using Packages and Modules
  8. Composition and Inheritance
    1. Using Composition to Deal With Complexity
    2. Composition/HAS-A, Delegation
    3. Using Inheritance and Polymorphism to share commonality
    4. IS-A, extends, Inheriting Features, Overriding Methods, Using Polymorphism
    5. Class Object
    6. Abstract Classes
    7. LAB: Using Inheritance to Specialize Classes
  9. Interfaces
    1. Using Interfaces to Define Types
    2. Interfaces and Abstract Classes
    3. Default Methods and static Methods (Java 8)
    4. LABS:
    5. Using Interfaces to Remove Implementation Dependencies
  10. Exceptions
    1. Exceptions and the Exception Hierarchy
    2. try and catch
    3. Handling Exceptions
    4. Program Flow with Exceptions
    5. finally
    6. LAB: Throwing and Handling Exceptions
  11. Java Collections and Generics
    1. The Collections Framework and its API
    2. Collections and Java Generics
    3. Collection, Set, List, Map, Iterator
    4. Autoboxing
    5. Collections of Object (non-generic)
    6. Using ArrayList, HashSet, and HashMap
    7. for-each Loop
    8. Processing Items With an Iterator
    9. More About Generics
    10. LABS
      1. Using Lists and Generics
      2. Using Sets
  12. Database Access with JDBC and JPA
    1. JDBC Overview
    2. JDBC Architecture and API
    3. Using DriverManager, Connection, Statement and ResultSet
    4. JPA Overview
    5. JPA Architecture and Programming View
    6. Entity Classes and Annotations
    7. Mapping an Entity Class
    8. EntityManagerFactory and EntityManager
    9. Working with JPA (Find by primayry key and inserts)
    10. LABS
      1. Mapping an Entity Class
      2. Working with JPA
  13. Additional Java Features
    1. Annotations
    2. Lambda Expressions and Method References (Java 8+)
    3. Additional Features

Class Materials

Each student will receive a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this Java class:

  • Existing programming experience
Since its founding in 1995, InterSource has been providing high quality and highly customized training solutions to clients worldwide. With over 500 course titles constantly updated and numerous course customization and creation possibilities, we have the capability to meet your I.T. training needs.
Instructor-led courses are offered via a live Web connection, at client sites throughout Europe, and at our Geneva Training Center.