SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Packaging and Deploying Java Code

Java Modules, Services and Module Imports (1Z0-831)

24 min read1Z0-831 · Packaging and Deploying Java CodeUpdated

A Java module is a named group of packages with a module-info.java declaration that states which modules it reads, which packages it exports or opens, and which services it uses or provides, and Oracle 1Z0-831 objective 7.1 asks you to define modules, expose their content (including to reflection), declare dependencies, wire services with ServiceLoader and use module import declarations. This lesson explains the three checks behind every cross-module access, how exports, qualified exports and opens differ, what requires transitive and requires static do at compile time and at launch, the graph rules that stop a module system from starting, how consumers find providers they never require, and exactly what import module brings into scope. Compiling, packaging into JARs, jlink and migrating class-path code belong to objective 7.2.

You’ve read your 2 free 1Z0-831 lessons

Sign up free to read 48 more lessons — your progress is saved.

Source

This lesson covers the "Packaging and Deploying Java Code" domain of the official 1Z0-831 exam guide. Vendors revise their guides — check the source for the current version.

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?