Instructor-led training
Java 11 New Features Training in Westbury, New York
Java's new release cycle introduces new features at a rapid pace.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Westbury, New York 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
Most of the content is small, targeted additions to a language you already know. The exception is the module system, which changes how code is packaged and located. The syllabus spends a full session on it, and it is where most of the effort goes.
- Modules replace classpath habits. The course starts from classpath shortcomings, then covers module descriptors with requires and exports, the types of modules, and creating and using them. Developers often assume a module is just a jar with extra metadata. In fact it declares which modules it depends on and which packages it exposes, and the platform enforces both. Failures show up as resolution and access errors, not ordinary compile mistakes.
- Migration is the hard part for existing code. The syllabus covers working with jars and the classpath during migration. Real applications mix modular and non-modular code, so you need to know how each kind of jar is treated.
- Services. Modules can provide and consume services. This is a different wiring style from direct instantiation, and it is easy to get wrong the first time.
- Type inference has limits. Local-variable type inference reduces typing, but it can hurt readability when the inferred type is not obvious. The course also covers the local-variable syntax for lambda parameters, after a short review of lambdas.
- Tooling and APIs. JShell (snippets, loading libraries, commands and scripts) is quick to pick up. The HttpClient API and the changes to collections and strings are mostly a matter of knowing what now exists. The session on deprecated and removed features matters most when you maintain older code.
The sessions build in a sensible order: release overviews, then modules, then smaller features that depend on them less. A solid grasp of the module session makes the JShell session easier, because JShell can work with modules and jars.
Who it suits and what to take around it
This is a two-day, general-level course for developers who already write intermediate Java, including inheritance, interfaces and exceptions. It suits teams that build, maintain or migrate applications on Java SE 11. As of the lifecycle data, Java SE 11 is an LTS release in Extended Support until January 2032, and Premier Support ended in September 2023. It also helps teams moving code up from earlier releases.
If lambdas are still unfamiliar, the syllabus offers only a brief overview. A fuller grounding, such as Fast Track to Java 8 and OO Development, makes the type inference session much easier to follow. For further language depth after this course, Advanced Java Language Topics is a natural next step. Other options are listed in the Java Programming courses and learning guide.
Organizations that use a newer Java release can ask about private training tailored to the versions they run through a training proposal request.
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.
- Splitting a large application. A team might have one monolithic jar on the classpath where any class can reach any other. Using module descriptors, they could define explicit requires and exports boundaries, migrate gradually while some jars stay on the classpath, and use services to decouple a plug-in style component from its consumers.
- Replacing ad hoc HTTP code. A support team might maintain an internal tool that calls several REST endpoints. They could use the HttpClient API to simplify those calls and rely on JShell to try requests interactively before committing code.
- Auditing a legacy codebase. A group upgrading from an earlier release could use the deprecated and removed features session as a checklist. They could then apply local-variable type inference and the new collection and string APIs where they simplify existing code.
AI coding assistants with these topics
AI coding assistants are useful for small, well-bounded work here. They can draft a module descriptor from a list of packages, convert explicit variable declarations to var, or sketch an HttpClient call. They can also explain a JShell session or suggest candidates for replacement when you are updating older code.
They tend to fail where the target version and the module system matter:
- Version mismatch. Assistants often produce code written for older or newer releases, or use older-style HTTP code. Compile against the Java release you actually target and treat any API that fails to resolve as a sign of this.
- Module descriptors. Generated requires and exports lines can be incomplete or overly broad. The compiler and runtime will reveal missing dependencies, but an over-exported package will not fail, so review exports by hand.
- Migration advice. Mixing classpath and module path jars depends on your build and dependencies. Generic advice is often wrong, so test the real application.
- Overuse of var. An assistant may apply it everywhere, including where the inferred type hides intent. Review for readability.
To verify, build and run tests on the target release, check generated APIs against the official Java SE 11 documentation, and try small snippets in JShell before relying on them.
Frequently asked questions
What level is this course?
General level, over two days. It assumes you already write intermediate Java and focuses on what is new in Java 9 through Java 11 rather than teaching the language from scratch.
What should I know before attending?
Working knowledge of Java, including inheritance, interfaces and exceptions. The syllabus gives only a brief overview of lambdas, so familiarity with them helps for the type inference session.
What does the course cover?
The new release cycle and overviews of Java 9, 10 and 11. It then covers Java 9 modules (descriptors, module types, services and migration), JShell, local-variable type inference, the HttpClient API, API changes to collections and strings, and deprecated and removed features.
Can this be delivered privately for our team?
Yes. HSG delivers private training for organizations, either onsite at the client's location or live online.
Can the content be customized?
Private courses can be customized and tailored to the Java versions your organization uses, including newer releases. You can describe your needs in a training proposal request.
Training locations
Java 11 New Features training across the U.S. and beyond.
We provide private Java 11 New Features training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Java 11 New Features 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.