Java Training Overview
Fast Track to Java and OO Development provides a comprehensive introduction to Java. It is suitable for programmers with good working programming experience (no Java experience needed). It can be taught to audiences with less experience by reducing coverage of the optional, more advanced, topics.
In addition to covering basic Java programming, the course provides a solid understanding of the core OO and Java concepts and practices needed to create well-designed Java programs. This includes creating well-designed Java classes, encapsulation, composition, and inheritance/interfaces.
The material and labs include coverage of useful new Java capabilities such as the Java 9+ module structure, and other recent features and API enhancements. It also introduces important APIs such as the Java Collections Framework, and JDBC/JPA. This course is suitable for environments using Java 11-17. It also covers details of the Java release cycle, and Long Term Support (LTS) releases.
Be prepared to work hard and learn a great deal! The course can be held on-site & customized to fit your needs.
Java Training Course Objectives
- 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 11-17, as well as important advanced features of earlier Java versions
- Understand and use basic I/O streams (Optional)
Java Training Prerequisites
Working knowledge of some programming language - no Java experience needed
Java Training Course Duration
5 Days
Java Training Course outline
Session 1: Java Overview
- Language and Platform Features
- A Simple Java Program
- The Java Release Cycle
- Program Lifecycle
- The Java SE Development Kit (JDK)
- LABS:
- Hello World: A Simple Application
Session 2: Class and Object Basics
- The Object Model and Object-Oriented Programming
- Classes, References, and Instantiation
- Adding Data to a Class Definition
- Adding Methods (Behavior)
- LABS:
- Exploring Types and Object Instances
- Introducing your IDE
- Writing and Using a Class Definition with Fields and Methods
Session 3: More on Classes and Objects
- More about Methods
- Encapsulation and Access Control, public and private Access
- Constructors and Initialization
- static Members of a Class
- LABS:
- Accessor Methods
- Encapsulation / Access Protection
- Writing and Using Constructors
- (Optional) Static Members
Session 4: Flow of Control
- Branching: if, if-else, switch
- Iteration: while, do-while, for, break, continue
- LABS:
Session 5: More about Classes and Objects
- Type-safe Enums
- Wrapper Classes
- Java 8+ Date/Time Support
- Working with References
- Formatted Output
- LABS: <\li>
- Using enums
- Working with Dates and Times
- Using the Debugger
Session 6: Strings, Arrays, and Dates/Times
- String, StringBuffer, StringBuilder
- Arrays, Primitive Arrays, Arrays of Reference Types
- varargs
- LABS:
-
Session 7: Packages and Modules
- Package Overview - Using Packages to Organize Code
- Creating Packages, package Statement, Required Directory Structure
- import statements
- Classpath
- Java Modules Overview
- Defining Modules, Requires, and Exports
- Module Path and Classpath - Differences and Coexistence
- LABS:
- Using Packages
- Using Java Modules
Session 8: Composition and Inheritance
- Using Composition to Deal With Complexity
- Composition/HAS-A, Delegation
- Using Inheritance to share commonality
- IS-A, extends Inheriting Features
- Constructor Issues
- Overriding Methods, @Override, Using Polymorphism
- Abstract Classes
- LABS:
- (Optional) Working with Composition
- Using Inheritance
- Polymorphism
- [Optional] Polymorphism
Session 9: Interfaces
- Defining and Implementing Interfaces
- Using Interfaces
- Default Methods and static Methods
- LABS:
- Using Interfaces to Remove Implementation Dependencies
- Using Default and Static Methods
Session 10: Exceptions
- Exceptions and the Exception Hierarchy
- Throwing Exceptions and Checked Exceptions
- try and catch
- Handling Exceptions
- try and catch
- Program Flow with Exceptions
- Multicatch, finally, try-with-resources
- LABS:
- Throwing Exceptions
- Checked Exceptions
Session 11: Java Collections and Generics
- The Collections Framework and its API
- Collections and Java Generics
- Collection, List, Set, Map
- Autoboxing
- Collections of Object (non-generic)
- Using ArrayList, HashSet, and HashMap
- for-each Loop
- Processing Items With an Iterator
- [Optional] More About Generics
- LABS:
- Using Collections and Generics
Session 12: Database Access with JDBC and JPA
- JDBC Overview
- JDBC Defined Types
- Example of JBDC Usage
- JPA Overview
- JPA Architecture and Programming View
- Mapping Entity Classes with Annotations
- Persistence Unit, EntityManagerFactory, and EntityManager
- Working with JPA (Find by primary key and inserts)
- LABS:
- Mapping an Entity Class
- Using JPA
- Insert/Query Demo
Session 13: I/O Streams (Optional)
- I/O Streams Overview
- Readers and Writers
- Exception Handling
- Byte Streams
- Working with Files
- NIO, Paths, Files
- LABS:
- Reading and Writing Files
- Using Byte Streams (Optional)
Session 14: Additional Language Features (Optional)
- Functional Interfaces and Lambda Expressions
- Switch Expressions
- Other Java Features
- LABS:
- Working with Lambdas (Demo)
|