Tell the CDI 2 Expert Group What You Think!

Since it's introduction in Java EE 6, CDI has become a key API for the platform. CDI 1.1 was a relatively minor release included in Java EE 7 as was CDI 1.2 (to be included in GlassFish 4.0.1). We have much higher expectations from CDI 2 (projected to be included in Java EE 8) under the new leadership of Antoine Sabot-Durand. Much like we conducted the Java EE 8 survey to solidify future direction for the platform, CDI 2 is now undergoing the same effort. Towards this goal the CDI 2 leadership is now soliciting feedback on some very specific items via an open survey. Topics include the likes of Java SE bootstrap, asynchronous processing, modularity, EJB-style @Startup and @Asynchronous in CDI, configuration and CDI Lite. You can of course also provide free-form input on anything that's not on the survey.

Take the survey now on the CDI specification site and help shape the future of CDI 2 and Java EE 8!


I want to understand WHY to put Asynchronous calls or lifecycle callbacks in CDI, does it make any kind of sense? CDI, IMHO must be responsible just for wiring the things up.

Posted by Daniel on June 02, 2014 at 07:33 AM PDT #

It's ultimately up to the CDI EG/community of course but these could be seen as basic component services (as it is in Spring for example).

Posted by Reza Rahman on June 02, 2014 at 07:59 AM PDT #

The questionnaire is very CDI centric (which I guess is by design :-) ), but have you thought about soliciting the input of developers who use other DI frameworks (Spring, Guice etc)?

There are a lot of us out here who don't use Java EE CDI, but have very strong opinions on how it should work. Some of us would also like to see more alignment in Java DI frameworks in general, and if you are thinking of including CDI in Java SE then I would definitely not limit (bias?) a request for comments to purely Java EE CDI users

Best wishes,


Posted by Daniel Bryant on June 05, 2014 at 11:39 AM PDT #

You should note the said strong opinions in the comments field of the survey and vet them with the EG when it forms? CDI is in fact intended to align DI frameworks in general within reason.

Posted by Reza Rahman on June 05, 2014 at 11:57 AM PDT #

Many thanks for the response Reza - I will do :-) I was concerned that the format/content of questionnaire will put off some non-CDI developers from responding, as the first question doesn't include an option such as "I don't use CDI, but I use another DI framework" etc

Posted by Daniel Bryant on June 05, 2014 at 12:08 PM PDT #

Fair point - please make it via the survey?

Posted by Reza Rahman on June 05, 2014 at 12:17 PM PDT #

Post a Comment:
Comments are closed for this entry.