~/talk

Java EE Revisits GoF Design Patterns

Talkat JavaOne 2015 · 2015-10-25..10-29· [software-architecture]
slides:none on file

Claims that Java EE already implements most GoF patterns and demos how to use them: shows @Singleton/@Startup/@PostConstruct for singletons with container-provided lazy or eager init and serialized access; @Produces and qualifiers as factory/producers with adjustable scopes; @Stateless with pooling as a facade (thread-safe, transactional) plus CDI events via Event.fire/@Observes (synchronous by default, CDI 2.0 adds async), decorators with @Decorator, JPA Entity/@Entity used as DAO/DTO with JAXB @XmlRootElement for serialization.

AI-written summary · about

  1. 0:00Introduction
  2. 1:55Design Patterns
  3. 3:35Singleton
  4. 10:50Benefits
  5. 12:55Abstract Factory
  6. 13:45String Factory
  7. 15:02Ambiguity
  8. 15:50Pros Cons
  9. 17:18Facade
  10. 21:52Stateless
  11. 27:05Decorator
  12. 28:22Java EE
  13. 30:35Observers
  14. 34:19ProsCons
  15. 40:17ModelController
  16. 43:27Entity
  17. 46:32DAO
  18. 49:03Example
  19. 49:39Details
  20. 52:34Entity Example
  21. 58:55DomainDriven Design
~/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.