CDI EG meeting 11/25/2013 notes on CDI 1.1.1 MR
In this meeting we came back on CDI-370 : Expand @RequestScoped and @SessionScoped to account for WebSocket and added some other issues. The following people assisted this meeting :
-
Pete Muir (pm)
-
Mark Struberg (ms)
-
Jozef Hartinger (jh)
-
Joseph Bergmark (jb)
-
Arne Limburg (al)
-
Stuart Douglas (sd) (Websocket expert)
-
Phil Zampino (pz) (Java EE EG member)
-
Martin Kouba (mk)
-
JJ Snyder (jj)
-
Antoine Sabot-Durand (asd)
Proposed Agenda
The following agenda was proposed by asd
-
Back on Websocket + RequestScoped issue : CDI-370 : Expand @RequestScoped and @SessionScoped to account for WebSocket Stuart Douglas will be our Guest Star to help us sort out if we can fix this issue on CDI side and if yes, if it’s doable in the MR timeframe
-
If there’s time left let’s discuss the following point :
-
CDI-406 Make stereotypes bean defining annotations.
-
CDI-404 adding bean-defining annotations for Interceptor while setting bean-discovery-mode=« annotated »
-
CDI-389 Revert CDI-85
-
CDI-397 Clarify Section 6.6.3 regarding singletons
-
CDI-395 Public fields in extensions should not be allowed (also easy to decide)
-
Websocket case (CDI-370 : Expand @RequestScoped and @SessionScoped to account for WebSocket)
sd and pz gave their insight on the meaning of Requestscope and Sessionscope in Websocket perspective. It was roughly a synthesis of our discussion on the ML about the subject ms stressed the fact that implementing one of these solution on CDI impl side could bring performance issue. pm concluded by saying that we should check with Java EE EG if a websocket MR was planned. According to this answer we would statute on this issue
Other issues
CDI-406 Make stereotypes bean defining annotations
pm told there was no technical issue to fix this (no double scan). No one objected so the issue is added to the MR
CDI-404 adding bean-defining annotations for Interceptor while setting bean-discovery-mode=« annotated »
Same as previous. The issue is also added to the MR
CDI-389 Revert CDI-85
All agreed we can do the revert to CDI 1.0 regarding generic type. But pm stressed that we should have a big rework on this for CDI 2.0
CDI-397 Clarify Section 6.6.3 regarding singletons
asd told that we should go a little beyond and check all occurrences of "singleton" in the spec to clarify if it’s an singleton session bean or a singleton scope. As nobody objected the issue was added to the MR
CDI-395 Public fields in extensions should not be allowed
There was a long discussion on the subject mainly between pm, ms, al and jh. Conclusion is that it can bring more problem to correct this issue. pm suggested that we defer it. al pointed the fact that test on implementation can show that it’s not supported already. If it’s the case it could be safely added to the MR. So further investigation are needed