O'Reilly logo
live online training icon Live Online training

Java Next Steps: Migrating To Java 11

Upgrading Java systems for better performance in containers and in the cloud

Topic: Software Development
Ben Evans

Java 11 is the current long-term support release of one of the world’s most popular programming languages, and it brings in much better support for cloud and container environments. Applications that have migrated to Java 11 will typically experience better performance and smaller resource footprint than when under running Java 8. However, the process to upgrade to Java 11 is significant.

Join expert Ben Evans to learn what you need to know to successfully upgrade both your teams and existing applications to Java 11.

What you'll learn-and how you can apply it

By the end of this live online course, you’ll understand:

  • Why Java 11 is much better suited to containerized applications than Java 8
  • The new release model, feature releases, and long-term support options
  • How Java modules work and when to adopt them in your applications
  • The necessary steps to upgrade your apps, including build tools and libraries

And you’ll be able to:

  • Work with new APIs, such as HTTP/2
  • Use Java Flight Recorder to monitor and diagnose problems with your applications
  • Modularize your code, when appropriate

This training course is for you because...

  • You’re a Java developer who wants to upgrade to the latest LTS release.
  • You need to adopt tools to analyze your application’s performance in production.
  • You want to get the most out of Java running in containers.


  • A laptop with OpenJDK 11 and JetBrains IntelliJ IDEA (community edition) installed
  • A working knowledge of Java 8
  • Experience with Java build systems (e.g., Maven or Gradle), cloud deployment, and containers (useful but not required)

Recommended preparation:

Recommended follow-up:

About your instructor

  • Ben Evans is principal engineer and architect for JVM technologies at New Relic. Previously, Ben was a cofounder of the Java performance startup jClarity (acquired by Microsoft), chief architect for listed derivatives at Deutsche Bank, and senior developer at Morgan Stanley, where he was responsible for performance testing the systems used for Google’s IPO. He’s the author of Optimizing Java, the recently updated Java in a Nutshell, seventh edition, The Well-Grounded Java Developer, and Java: The Legend. He’s the Java and JVM track lead at InfoQ, a frequent contributor to Oracle's Java Magazine, and a regular speaker at conferences worldwide. Ben has been contributing to open source software for over 20 years. He was a cofounder of the Adopt-a-JSR and AdoptOpenJDK initiatives and served on the Java Community Process Executive Committee for six years.


The timeframes are only estimates and may vary according to how the class is progressing

Java 11 in context (25 minutes)

  • Presentation: Java history; the new release model
  • Q&A

Break (5 minutes)

Java 11 new features (50 minutes)

  • Demonstration: JShell; HTTP/2
  • Presentation: Small features; internal changes
  • Q&A

Break (5 minutes)

Modules and Java 11 (45 minutes)

  • Presentation: Java platform modules
  • Demonstration: Writing your first module
  • Presentation: Multirelease JARs
  • Q&A

Break (5 minutes)

Building Java 11 projects (40 minutes)

  • Presentation: Build tools; containerization; pitfalls and gotchas
  • Q&A

Break (5 minutes)

Java Flight Recorder (JFR) (50 minutes)

  • Presentation: Intro to JFR
  • Demonstration: Java Mission Control; configuring JFR for production; handling JFR programmatically

Wrap-up and Q&A (10 minutes)