~/talk

Introduction to Modular Development

Talkat JavaOne 2015 · 2015-10-25..10-29· [java]
slides:none on file

Gentle, hands‑on intro to the Java Platform Module System that shows how to write a module descriptor (module-info.java), compile with javac using a module-path, package as a modular JAR, and run with java -m; explains requires public (implied readability), exports vs internal packages, and that accessibility is enforced at compile time and runtime. Covers mixing classpath and module path, services for optional dependencies, the jlink linker to build tiny custom runtime images, and the jar/jlink command lines to reproduce the examples.

AI-written summary · about

  1. 0:00Start
  2. 1:44What Is a Module
  3. 2:50Modules Description
  4. 3:48Dependencies
  5. 5:23Java Base
  6. 6:08Java Sql Module
  7. 10:03Implied Readability
  8. 10:59Encapsulation
  9. 11:57Module Declaration
  10. 12:15Accessibility
  11. 14:45Spaghetti Diagrams
  12. 24:12Packaging
  13. 24:26Jar Files
  14. 29:12Mix the Class Path and the Module Path
  15. 30:10Add Mods
  16. 30:57Linking
  17. 34:20Create a Runtime Image
  18. 39:25Solution for Optional Dependencies
  19. 49:18How Does the Public Non-Accessible Classes Work for Javadoc
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.