~/talk

Migrating to Modules

Talkat Devoxx Belgium 2017 · 2017-11-06..11-10· [java]
slides:none on file

Live-coding shows a Java 8 command-line app that deserializes tweets with Jackson and is converted into a Java 9 module by adding module-info.java, using javac, jar, jdeps and the Java launcher; initial run fails on reflective access and is fixed by using opens vs exports; then Jackson jars become automatic modules, later rewritten with explicit module declarations and rerun; a trimmed runtime image is produced with jlink and everything works end-to-end.

AI-written summary · about

  1. 0:00Intro
  2. 1:07Overview
  3. 2:28The Problem
  4. 3:01The Source Tree
  5. 4:32Compile
  6. 6:07Module Declaration
  7. 11:10Static Analysis
  8. 13:04Java C
  9. 15:38TweetSome Module
  10. 19:15Open Packages
  11. 20:46Demonstration
  12. 22:54Automatic Modules
  13. 26:06JadeEPS
  14. 32:15Add Modules
  15. 34:43Conclusion
  16. 37:28Automatic module names
  17. 40:23Intentional design decisions
  18. 42:38Can you open a specific module
  19. 44:43How to compile jars
  20. 46:08Versioning
  21. 48:03JavaFX
  22. 48:28Questions
~/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.