Explore the upcoming features of CDI 2.0 in this informative conference talk from Devoxx. Dive into the work on JSR 365 (Context and Dependency Injection for Java) and discover interesting additions like asynchronous events and Java SE bootstrap. Learn about the top new features in CDI 2.0 through code examples and gain insights into the expert group's plans for this first totally open source Java EE specification. Understand the CDI timeline, compare CDI with GSF 330 and 365, and examine the results of community involvement and surveys. Delve into synchronous support, security enhancements, Java SE support, and the new CDI sub-specification. Explore the CDI 2.0 events system, including observing patterns, asynchronous observations, and the relationship between events and contexts. Discover improvements to synchronous events, current patterns, mutable payloads, asynchronous exceptions, special threads, executors, interceptors, and annotation builders. Witness a Java AC demo and understand the concept of priority in CDI 2.0.
Read more