~/talk

Making the most of Java SE with CDI 2.0

Talkat Devoxx US 2017 · 2017-03-21..03-23· [java, microservices]
slides:none on file

CDI 2.0 makes CDI usable in plain Java SE by standardizing an SE container (Weld and OpenWebBeans implement it) that boots with two lines to bootstrap and is auto-closeable for try-with-resources. It lets code add packages, extensions and properties programmatically, control discovery, and start/stop request scope via a request context controller or an interceptor. Demo builds a Netty TCP listener with a request-scoped time provider showing fresh instances per connection, fully CDI-only and working without a Java EE container.

AI-written summary · about

  1. 0:00Start
  2. 1:38Projects Supporting CDI SE
  3. 5:32Controlling the Classpath You can disable discovery, and explicitly add beans
  4. 8:24Request Context
  5. 11:10Threading and Events
~/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.