~/talk

Java Modules meet Dependency Injection

Talkat EclipseCon Europe 2018 · 2018-10-23..10-25· [java, software-architecture]
links:none on file
slides:none on file

Shows how Java 9 Jigsaw and dependency injection actually interoperate: using Google Guice with explicit module-info exports/opens and selective opens for frameworks prevents accidental reflective access while keeping DI flexible. Demonstrates concrete patterns — provider methods for runtime wiring, default bindings in an application module, and when to open a package versus export an API. Includes a converted plugin/print-service example that isolates implementations behind module boundaries and keeps runtime service selection working without breaking encapsulation.

AI-written summary · about

  1. 0:00Java Modules and DI intro
  2. 5:43Module system basics
  3. 10:18Reflection in modules
  4. 15:42Service implementation
  5. 22:00Dependency injection
  6. 28:35App bindings config
  7. 33:27Summary and Q&A
~/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.