~/talk

Spring Puzzlers - second season

Talkat JavaDay Lviv 2016 · on Friday, 2016-07-22· [java]
slides:none on file

A collection of real Spring gotchas with concrete fixes: annotations on interfaces (like @PostConstruct) are ignored so a custom BeanFactoryPostProcessor is written to scan interfaces and inject init-method names — it works after reflective hacks; JavaConfig bean definitions often lack the concrete class/return-type so interface annotations don’t behave the same as @Component; @Value in configuration must be static for early initialization; injecting generic Lists + @Qualifier matches by bean type/generic not just name; prototype beans are not destroyed by the container.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Iron and soldering iron puzzle
  3. 17:26Qualifier problem
  4. 23:49Two programmers story
  5. 35:25Actors and qualifiers puzzle
  6. 39:00Property placeholder and static methods
  7. 44:09External configs and @Value
  8. 46:42Constructors and @Autowired
  9. 47:30Terminators and destroy methods
  10. 50:27XML and destroy methods
~/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.