Instructor-led training
Java Modules and New Features (Java 11+) Training in East Providence, Rhode Island
Private Java Programming training for organizations from Hartmann Software Group, delivered onsite in East Providence, Rhode Island or live online.
What you'll learn
Java’s new release cycle introduces new features at a more rapid pace, requiring increased attention from users. This course provides in-depth coverage of the important new features through Java 11 LTS. It also provides an overview of useful new features in Java 12+ that are likely to appear in Java 17 (the next LTS release).
Technical coverage starts with the new Java Platform Module System (JPMS), which presents a fundamental shift in how applications are organized, and interconnected to the libraries they use. We introduce modules from the ground up, show how to use them, describe your choices in usage, as well as caveats and pitfalls. We also provide guidelines for migration from non-modular applications.
The course covers many other new and powerful features that will be useful to developers (see the detailed outline for specifics). The course also includes several extra optional labs and guided self-study exercises in these additional areas.
The course is very hands-on, including numerous code examples and programming labs that reinforce the concepts presented, so that attendees can immediately employ what they’ve learned in their current projects.
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in East Providence, Rhode Island 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 TrainingPrerequisites
Course Outline
What makes this material hard to master
The individual features are small. The difficulty is that the biggest one, the Java Platform Module System (JPMS), changes how an application is organized and how it finds its libraries. The syllabus builds in a sensible order.
- Modules first (Sessions 1-2). Motivation, types of modules and the modular JDK come before defining and using modules, services, and compatibility and migration. The hard part is rarely the syntax of a module declaration. It is deciding what a module exposes, what it depends on, and how a service-based design replaces direct references between components.
- Migration is where assumptions break. Code that worked on the classpath can behave differently once module boundaries apply. A common misconception is that adopting a newer JDK means you must modularize your own code. Another is that modularizing is a mechanical step. The course treats compatibility and migration as its own topic for this reason.
- Smaller features (Sessions 3-6). Local-variable type inference, including the local-variable syntax for lambda parameters, looks trivial. The judgment call is when it helps readability and when it hides a type. The syllabus includes a brief overview of lambdas, but it is a refresher, not an introduction. The session on collection factory methods, multi-release JARs and reactive programming covers a mix of unrelated topics.
- Tooling (Sessions 4, 5 and 7). JShell, the HTTP client and jlink build on the module material. Creating a custom runtime image with jlink only makes sense once you understand the modular JDK and your application's module dependencies.
The description also mentions optional labs and guided self-study exercises for additional features, so the pace can be adjusted to the group.
Who it suits and where it fits
The course is for working Java developers, architects and technical leads who maintain or build applications on Java 11 and need to understand modules and the features added since the Java 8 era. The stated prerequisite is working knowledge of Java, including inheritance, interfaces and exceptions. It is not a language introduction.
Java SE 11 is an LTS release in Extended Support only, supported until January 2032. That makes the course a fit for teams that build, maintain or migrate systems on Java 11, or that are moving to it from older releases.
- Before: The syllabus moves quickly through lambdas, so developers who have not used them in practice may want Fast Track to Java 8 and OO Development first, which gives them the lambda background that Session 3 assumes.
- After: Developers who want more depth on the language itself can continue with Advanced Java Language Topics, a one-day advanced course.
Organizations on Java 17, 21 or 25 can request a training proposal to discuss private training tailored to the versions they run. See also the Java Programming courses and learning guide.
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.
- Untangling a large classpath application. A team might have a monolithic application whose packages reference each other freely. Defining modules, applying what the course says about compatibility and migration, and using services for loose coupling would show it where the real dependencies are.
- Shipping a smaller runtime. A team might distribute a command-line tool or internal service and want to bundle only the platform modules it needs. Knowing the modular JDK and how to create a runtime image with jlink would let it build an application-specific runtime.
- Exploring and integrating an API. A developer might prototype calls to an internal web service in JShell, loading libraries from JARs or modules, then move the working code into an application using the HTTP client API. A library maintainer supporting more than one JDK might use multi-release JARs to ship version-specific code in a single artifact.
AI coding assistants and these topics
Where they help. AI coding assistants can draft boilerplate such as a first module declaration, convert verbose declarations to var, sketch HTTP client calls, or suggest collection factory methods in place of manual list-building.
Where they fail.
- Module descriptors are easy to get subtly wrong. An assistant may omit a needed dependency, export too much, or miss that a package must be opened for reflection-based libraries. Many of these problems only show up at compile time on the module path or at runtime.
- Assistants trained on years of classpath-era code tend to ignore module boundaries. They may also suggest APIs from releases newer than the one your project targets, or older patterns where Java 11 offers a better one.
- Inferred types can make generated code harder to read. Assistants often apply
varwhere an explicit type would be clearer. - Guidance on migration and runtime images is generic. It rarely accounts for your actual dependencies.
How to verify. Compile and run on the module path, not just the classpath. Check that the target JDK version accepts every API used. Inspect declared and actual dependencies with JDK tools such as jdeps. Launch the application from a jlink-built image, because missing modules show up there. Review generated var usage for readability.
Frequently asked questions
What level is this course?
It is a general-level, two-day course for developers who already program in Java. It is not an introduction to the language.
What do I need to know beforehand?
Working knowledge of Java, including inheritance, interfaces and exceptions. The syllabus includes only a brief overview of lambdas, so some practical familiarity with them helps.
What does the course cover?
The Java Platform Module System (types of modules, the modular JDK, defining and using modules, services, compatibility and migration), local-variable type inference, JShell, the HTTP client, collection factory methods, multi-release JARs, reactive programming, custom runtime images with jlink, and an overview of upcoming features in Java 12+.
Can the course be delivered privately for our team, onsite or online?
Yes. HSG delivers private training for organizations at the client's location or live online.
Can the content be customized to the Java version we use?
Private training can be tailored to the technology versions an organization uses, including current releases. Request a training proposal to discuss your environment and goals.
Training locations
Java Modules and New Features (Java 11+) training across the U.S. and beyond.
We provide private Java Modules and New Features (Java 11+) training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Java Modules and New Features (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
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.