Skip to main content

Instructor-led training

Intermediate - Advanced Java 11 Training in Lafayette, Indiana

Private Java Programming training for organizations from Hartmann Software Group, delivered onsite in Lafayette, Indiana or live online.

What you'll learn

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.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Lafayette, Indiana or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

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

What makes this material hard to master

Most attendees already write Java. The difficulty is design judgment and the more abstract language features, not syntax. The syllabus builds in layers.

  • Contracts and design principles first. The review sessions cover equals()/hashCode(), Comparable and Comparator, substitutability, coupling and the Open-Closed Principle. A common misconception is that these are style rules. Collections, generics and pattern code all depend on them, and breaking them produces subtle bugs.
  • Generics. Writing generic classes, wildcard parameter types and type erasure are where many experienced developers get stuck. Erasure explains why some code that looks legal will not compile.
  • Patterns and composition. Singleton, Simple Factory and Factory Method come first, then Strategy, Decorator, Façade, Proxy and Template Method. The skill is choosing composition and delegation over inheritance, not recalling pattern names.
  • Metaprogramming. Inner classes, custom annotations (target and retention policy) and reflection (creating instances, invoking methods, setting fields) explain how frameworks work. They are easy to misuse in application code.
  • Functional style. Lambdas, variable capture, method references, then streams and collectors (partitioning and grouping). A frequent misconception is that a stream is just a faster loop or a collection. The syllabus contrasts streams with collections and traces the anatomy of a pipeline.
  • Modules. Defining modules, services, the modular JDK, and compatibility and migration. This is mostly about how existing code and libraries fit into a modular layout.

Who it suits and what to take around it

The course assumes working knowledge of Java, including inheritance, interfaces and exceptions. The description also positions it for developers from Python, C++ or C# who have limited Java exposure, and for experienced Java developers who want advanced coverage. Many parts are optional, so a group can emphasize the topics it needs.

Developers who have not yet written much Java may get more from the course after Fast Track to Java 8 and OO Development, which builds the language and object-oriented foundation the review sessions here assume.

The course includes a JUnit session and an overview of test-driven development. Teams that want those tests run automatically on every commit may find Continuous Integration with Jenkins a useful next step. The wider Java Programming learning guide lists other options.

The course targets Java SE 11 and also covers Java 8 features such as default methods, lambdas and streams. By the lifecycle information we hold, Java SE 11 is in Extended Support until January 2032 and Java SE 8 until December 2030. Organizations that maintain or migrate systems on either version can use it as is. Organizations on newer releases can ask about tailored private training.

Illustrative scenarios

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

  • Replacing hard-coded construction. A team might have new calls spread through its code base, which makes testing difficult. The object-creation session (factories, Singleton, dependency injection frameworks) and the JUnit session address this. Fixtures and exception tests can then cover the refactored code.
  • Simplifying collection-processing code. A developer might maintain nested loops that filter, sort and group records. Lambdas, method references, stream pipelines and collectors such as grouping and partitioning could express the same logic more compactly. Knowing generics and type inference helps when reading the resulting compiler errors.
  • Building a small annotation-driven utility. A team might want a custom annotation that marks fields for validation or export. Writing it needs the annotation topics (retention policy, parameters, meta-annotations) and reflection to read it at runtime. It also shows how annotation-driven frameworks work internally.

AI coding assistants and these topics

AI coding assistants are useful for boilerplate: drafting JUnit tests, converting anonymous classes to lambdas, suggesting stream pipelines, or sketching a factory or decorator. They are weaker where the syllabus is most demanding.

  • Contracts. Generated equals()/hashCode() or Comparator code can look right but break the contract (inconsistent fields, ordering that is not transitive). Test these with equal and unequal objects and as keys in hash-based collections.
  • Generics. Suggestions may use raw types or wildcards incorrectly. Compile with warnings visible and understand erasure before accepting a signature.
  • Streams and lambdas. Assistants can produce pipelines that are hard to read, or ones whose lambdas modify captured state. Check that each lambda only depends on effectively final variables and has no side effects.
  • Reflection, annotations and modules. Output may call APIs that do not fit the project's Java version, or ignore module encapsulation. Build and run on the target JDK, and check module-info behavior.
  • Tests. Generated tests may only restate the implementation. Check that they fail when the behavior is broken.

In every case, verify against the project's Java version, code review and a passing test suite, not just the assistant's explanation.

Frequently asked questions

What level is this course?

It is advanced. It moves quickly and assumes you already write Java. It revisits fundamentals in the review sessions, then covers topics such as generics, design patterns, annotations, reflection, lambdas, streams and modules.

What do I need to know beforehand?

Working knowledge of Java, including inheritance, interfaces and exceptions. Developers from other object-oriented languages such as Python, C++ or C# with limited Java exposure are also described as a fit.

Does it cover Java 8 features as well as Java 11?

Yes. The syllabus includes default and static interface methods, functional interfaces, lambda expressions, method references and streams, as well as the Java platform module system.

Can the course be delivered privately and customized?

Yes. HSG delivers private training onsite or live online. Because the course has many optional parts, content can be tailored to your group, including the Java versions you use. You can request a training proposal.

Training locations

Intermediate - Advanced Java 11 training across the U.S. and beyond.

We provide private Intermediate - Advanced Java 11 training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Intermediate - Advanced Java 11 training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.