~/talk

On @annotations - liberate yourselves from demons

Talkat Voxxed Days Zurich 2017 · on Thursday, 2017-02-23· [java]
links:none on file
slides:none on file

Claims that pervasive @annotations cause brittle, hard-to-debug Java code and that replacing them with explicit composition and small libraries yields faster development. Shows refactoring a “magic service” from many annotations down to two dependencies, uses constructor injection and the cake pattern, demos a Ratpack microserver with Ratpack 16ms start and black‑box HTTP tests, advocates functional helpers like doTransaction (Vavr/JavaSlang style), suggests JLQ/MyBatis over JPA, and warns against over‑mocking with Mockito.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30Polish Stack Overflow
  3. 3:00Magic Service
  4. 5:10Dependency Injections
  5. 7:47Lifecycle
  6. 9:54Mappers
  7. 10:47Encapsulation
  8. 12:11Solution
  9. 13:58Dependency injection
  10. 15:40Cake pattern
  11. 17:19Lazy service
  12. 21:04Ratpack
  13. 25:15Testing
  14. 26:47Build a wall
  15. 28:51Injection
  16. 32:04Testing only marks
  17. 33:15Is database internal
  18. 34:17Aspect
  19. 38:06Good annotations
  20. 42:49Problems with JPA
  21. 45:14Resources
  22. 46:29Limitations
~/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.