~/talk

Java EE changes design pattern implementation

Talkat JavaDay Kyiv 2015 · 2015-11-06..11-07· [software-architecture]
links:none on file
slides:none on file

Java EE replaces handwritten pattern plumbing with CDI and annotations: the singleton becomes @Singleton with optional @Startup, @DependsOn, container or bean‑managed concurrency via @Lock and timeouts; the factory role is handled by CDI qualifiers and producer methods that can produce lists and use request/session/application scopes; facades map to @Stateless beans with pooling and transactions; decorators use @Decorator and @Delegate (ordering via priority or XML in CDI 1.1); events use CDI observers (sync by default, async in CDI 2.2). Lower boilerplate but higher risk of overuse.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:36History and concepts
  3. 6:28Dependency injection
  4. 9:43Singleton pattern
  5. 14:30Managing concurrency
  6. 20:07Factory pattern
  7. 26:19Producer methods
  8. 30:23Facade pattern
  9. 35:34Decorator pattern
  10. 38:15Observer pattern
  11. 42:32Conclusion
~/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.