Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Java SE 9 Modules - An Introduction

Devoxx via YouTube

Overview

Explore the fundamentals of the Java platform module system and its impact on reflection in this 48-minute Devoxx conference talk. Delve into the long-awaited major feature of Java SE 9, developed under Project Jigsaw, and understand how modules might affect existing and new codebases. Learn about the goals of modularization, including reducing the size of the JDK and creating a multi-module Javadoc. Discover the concept of modules, their metadata, and how to create them. Examine transitive and optional dependencies, services, package hiding, and access lockdown. Investigate the changes in reflection for Java 9, including reflecting on the JDK and modules themselves. Address migration concerns, module naming conventions, and the relationship between modules and Maven artifacts. Gain insights into the modular future of Java development and prepare for the implications of this significant platform evolution.

Syllabus

Intro
Modules - Project Jigsaw
Goals
JDK too big
Modularised JDK
Multi-module Javadoc
Deprecated modules
Module graph
ClassLoader
Questions
Requirement 1
Example
Requirement 2
What is a module?
With modules
Modular JDK
Creating a module
Module metadata
Transitive dependencies
Optional dependencies
Checks
Services
Hiding a package
Access
Lockdown
Reflection in 9
Reflection on the JDK
Reflecting on modules
Migration
Use classpath
Module naming
Names of automatic modules
Modules and Maven
Modules are not Artifacts
Summary

Taught by

Devoxx

Reviews

Start your review of Java SE 9 Modules - An Introduction

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.