Intermediate - Advanced Java 11 Training

We offer private customized training for groups of 3 or more attendees.

Course Description

 

This is a modern, fast-paced course suitable for developers with some previous experience in working with Java and Object-Oriented (OO) programming. The course can also be delivered to developers experienced in other OO languages (Python, C++, C#) but with limited Java exposure, as well as used as an advanced Java course for more experienced developers. There are numerous optional parts allowing you to tailor the coverage to your group.

Course Length: 5 Days
Course Tuition: $2250 (US)

Prerequisites

Working knowledge of Java programming, including use of inheritance, interfaces, and exceptions

Course Outline

 
Preface: Java State of the Union
Java Release Cycle
New Java Versions
 
Session 1: Review - Basics
Java Environment
Classes and Objects
Instance Variables, Methods, Constructors, Static Members
OO Principles: Data Encapsulation, Cohesion
Object Contracts: toString(), equals() and hashCode(), Comparable and Comparator
Packages, Enums, Arrays
Exceptions
Date and Time API
New Language Features
 
Session 2: Review (Inheritance and Interfaces)
UML Overview
Inheritance
Definition and IS-A Relationship
Method Overriding, @Override
OO Principles: Principle of Substitutability, Polymorphism and Encapsulation of Type, Coupling, Open-Closed Principle
Constructor Chaining
Interfaces
Defining and Implementing, Interface Types
Interface Inheritance
New Interface Features (Java 8+)
Default Methods, Static Methods
Functional Interfaces
Guidelines
 
Session 3: JUnit
Overview
Tests, Assertions, and Fixtures
Writing and Running Tests
Assertions
Test Fixtures, @Before and @After, @BeforeClass and @AfterClass
Testing for Exceptions
Best Practices and Test-Driven Development Overview (TDD)
 
Session 4: Collections and Generics
Collections Overview
Generics and Type-Safe Collections
Diamond Operator
Lists, Sets, and Maps
Interfaces and Contracts
Iteration and Autoboxing
Utility Classes - Collections and Arrays
Writing Generic Classes
Inheritance with Generic Types
Wildcard Parameter Types
Type Erasure
 
Session 5: Techniques of Object Creation
Design Patterns Overview
Controlling Object Creation
Limitations of new Operator, Alternative Techniques
Singleton Pattern
Simple Factory
Factory Method Pattern
Other Techniques
Named Objects, JNDI
Dependency Injection Frameworks
 
Session 6: Using Composition and Inheritance Effectively
Inheritance and Composition - Pros and Cons
Composition and Delegation
HAS-A, USES Relationships
Strategy Pattern
Decorator Pattern
Façade and Other Patterns
Façade, Proxy, Template Method
 
Session 7: Inner Classes
Overview and Motivation
Stronger Encapsulation, Rules and Caveats
Defining and Using Inner Classes
Member-Level, Method-Local, Anonymous Classes
Static Nested Classes
Nested Classes, Nested Interfaces, Nested Enums
 
Session 8: Annotations
Overview
Using Annotations
Target and Retention Policy
Annotation Parameters, Parameter Shortcuts
Writing Custom Annotations
Syntax, Using the Meta-Annotations
Using a Custom Annotation
 
Session 9: Reflection
Overview and API
The Class Called Class
Obtaining and Inspecting Class Objects
Working with Objects Reflectively
Creating Instances, Invoking Methods, Setting Field Values
 
Session 10: Lambda Expressions
Functional Interfaces and Lambdas
Target Context
Using Lambda Expressions
Syntax, Lambda Compatibility
Variable Capture
Type Inference
Method References
Three Types of Method References
Refactoring Lambdas into Method References
 
Session 11: Streams
Overview
Streams vs. Collections
Anatomy of a Stream
Understanding the Stream API
Intermediate Operations and Stream Pipeline
Java 8 Functional Interfaces: Predicate, Comparator, Function
Stream Processing
Filtering, Sorting, Mapping
Terminal Operations
Collectors
Concepts
Partitioning and Grouping
 
Session 12: Introduction to Modules
Motivation and Overview
Types of Modules
Modular JDK
Our Approach
 
Session 13: Working with Modules
Defining and Using Modules
Services
Compatibility and Migration
Conclusion

Java Programming Uses & Stats

Java Programming is Used For:
Android & IOS Development Software Products Video Games Desktop GUI's
Difficulty
Popularity
Year Created
1995
Pros

Most Commonly Used: 
According to Oracle, three billion devices run on Java.  And, because of its real-world applications, it consistently ranks at the top of the TIOBE Programming Community Index. 

Great Career Choice: 
Some of the fastest-growing salaries in the U.S. in 2018 are for Java developers.  (Glassdoor)  

Android Apps Development:
Developers predominatly use their Java skills in building apps for Google's Android. The Android platform is the number one mobile paltform in the world

It Can Run On Any Platform:
Java can compile on Windows and run the same compiled file on Linux, Windows and Mac.

Great Supporting IDE's:
Over the years, coding in Java has become simpler with the introduction of open source development tools, i.e. Eclipse and NetBeans that use Java capabilities for debugging.  
 

Cons

Uses a Lot of Memory:
Performance can be significantly slower with Java and more memory-consuming than natively compiled languages such as C or C++.

Difficulty in Learning: 
Learning Java can be a bit challenging if you are a beginner.  However, once you get the hang of Object Oriented Programming and a decent grasp of the syntax, you will be well on your way.

Slow Start Up Times:
There is quite a bit of one-time initialization done by JDK classes before compiling as well as loading classes and verification (making sure code doesn't do evil things, all of which takes longer that some other languages such as C. 

Verbose and Complex Code:
Long, over-complicated sentences make code less readable and scannable. Compare to let's say Python, we can see how clear Python code appears: It doesn’t require semicolons; uses “and,” “or,” and “not” as operators instead of Java’s “&&,” “||,” and “!”; and generally has fewer bells and whistles such as parentheses or curly braces.

Commercial License Cost:
Companies have to prepare for the changes that Oracle will institute in 2019 . Today, the current version of Java is free and available for redistribution for general purpose computing. However, If you are a DEVELOPER, Oracle recommends you review the roadmap information for Java SE 8 and beyond and take appropriate action depending on the type of application you develop and your distribution mode.

Java Programming Job Market
Average Salary
$102,000
Job Count
26,856
Top Job Locations

New York City 
San Jose
Washington D.C, 

Complimentary Skills to have along with Java Programming

- If you are an experienced Java developer, learning a complimentary language to Java should come much more naturally.  As an example JetBrains recently created the Kotlin programming language which is officially supported by Google for mobile development.  Kotlin compiles to Java bytecode and runs on the JVM; it's purported to address many of Java's shortcomings...

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.