CDI 2.0 Beta 1 is available
After more than 2 years of work CDI 2.0 is around the corner. Its feature list is now complete and Beta for RI (Weld 3.0 Beta1) is available for download. This post lists what’s included and give you some insight on the final release and what comes next
Give it a try
First, you may want to start testing the RI and discover the new API, all the resources are listed below:
Major features included in CDI 2.0
This CDI 2.0 includes important changes for the platform.
-
The spec was split into 3 parts to add the support for Java SE.
-
API to boot CDI in Java SE.
-
Observers (i.e. events) ordering.
-
Configurators for major SPI elements
-
Possibility to configure or veto observer methods.
-
Make possible to apply interceptor on producers.
-
Alignment on Java 8 features (streams, lambdas, repeating qualifiers)
A lot of other small feature will be delivered. Refer to the coming release notes to check them all.