Looking for this?

Then you're in the right place: CodeFX.org is now nipafx.dev! It's the same content (spicy Java) by the same guy (me, Nicolai - nice to meet you!), but with a new look and without CodeFX as a middleman. From now on, it's just You. Me. Java.

Got it!

(JavaScript is off, so no cookies - tell me again next time)

Got it!

(and give me a cookie to remember - privacy policy)

Got it!

(and tell me again next time I'm forwarded)

By the way, it looks like you didn't get forwarded to the page you were looking for. If that's indeed the case, it would be great if you could let me know, so I can fix it.

Looking for this?

Then you're in the right place: CodeFX.org is now nipafx.dev! It's the same content (spicy Java) by the same guy (me, Nicolai - nice to meet you!), but with a new look and without CodeFX as a middleman. From now on, it's just You. Me. Java.

Got it!

(JavaScript is off, so no cookies - tell me again next time)

Got it!

(and give me a cookie to remember - privacy policy)

Got it!

(and tell me again next time I'm forwarded)

By the way, it looks like you didn't get forwarded to the page you were looking for. If that's indeed the case, it would be great if you could let me know, so I can fix it.

Java Module System

A 1 to 2-day course on the Java module system, from motivation and basics to underlying concepts and advanced features to migration and modularization of existing projects

This course teaches everything a Java developer needs to know about the Java module system that was introduced in Java 9. It starts with good old JAR hell and the chaos of the class path to motivate the module system's introduction. After that, the basics are explained before more advanced uses are introduced. Last but not least, the course covers migration challenges when upgrading from Java 8 (most of them caused by the module system) and how to modularize existing projects.

Every aspect is taught with theoretical introductions, practical exercises, and usage recommendations.

Optionally, we can also discuss the six-month release cadence and licensing/support of JVM distributions.

Audience:
Java developers who want to assess and potentially use modules for their projects
Prerequisite:
Average Java skills but experience with designing and building projects helps appreciate modules more
Length:
1-2 days

Objectives

After completing this course, participants will be able to:

  • understand the problems the module system solves
  • create more maintainable projects with modules
  • migrate existing projects from Java 8 to 9+ (which doesn't require modules)
  • introduce modules to existing projects (stepwise if necessary)

Program

The course starts with the basics:

  • the problems of the class path and how the module system solves them
  • defining modules with module-info.java and building them from the module path
  • understanding the terms readability and accessibility and their importance

It then teaches refined techniques beyond the basics:

  • how to model optional and transitive dependencies
  • how to use services to decouple modules
  • how to make sure reflection is working
  • how to create runtime images for or even with an application

It also makes sure participants can migrate their code bases:

  • build tool support
  • compatibility challenges of running on Java 9+
  • preparatory dependency analysis
  • stepwise modularization of an existing application

Upcoming Public Sessions

While I mostly provide these courses in-house, there's the occasional public session that everybody can attend. None are planned now, but if you get in touch, I'll let you know when that changes.