~/talk

Java Modules in practice with Spring Boot

Talkat Spring I/O 2019 · 2019-05-16..05-17· [java]
slides:none on file

A Spring Boot app is converted into explicit Java modules (domain, persistence, REST, BoardGameGeek client, security, application) using JDK 11+, Maven, Spring Data JPA, Spring Web, Spring Security with JWT, Jackson, JAXB RI, Surefire and JUnit Jupiter, and optional Kotlin interop. Migration follows a stepwise bottom-up process, exposes real pitfalls: split-package collisions (3,500+ potential collisions found in Maven Central), automatic module naming issues and deep-reflection / IllegalAccessErrors, ClassNotFound and NoSuchMethod fixes by adding requires/opens, upgrading deps and replacing Mongo with JPA. The modular app runs and successfully fetches ratings from BoardGameGeek. automatic-module-name

AI-written summary · about

  1. 0:00Introduction
  2. 3:15Why modules
  3. 6:03Problems with modules
  4. 9:08Theory
  5. 11:45Preparation
  6. 14:40Demo
  7. 19:55Spring is Module
  8. 25:25Rest API
  9. 29:25Split Package
  10. 31:55Illegal Exes
  11. 32:45Exceptions
  12. 34:05IntelliJ
  13. 34:35CGLip
  14. 35:45Testing
  15. 36:45Deep Reflection
  16. 37:45Login
  17. 38:40Change dependency
  18. 38:55Kotlin support
  19. 40:15Main module
  20. 42:25Conclusion
~/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.