<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I think regardless of the original intent of the authors, it’s very clear that 1.0 was targeted at Java EE, and includes a number of Java EE specific concepts in it’s core such as Conversation scope.<div class=""><br class=""></div><div class="">I agree with Antoine that it’s clearer to specify a Java SE mode cleanly, that is a subset of the current features (mostly, those that make sense in Java SE).</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 22 Jun 2015, at 05:05, Antoine Sabot-Durand &lt;<a href="mailto:antoine@sabot-durand.net" class="">antoine@sabot-durand.net</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Discussion that was accidentally in private mode<br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">---------- Forwarded message ---------<br class="">From: Mark Struberg &lt;<a href="mailto:struberg@yahoo.de" class="">struberg@yahoo.de</a>&gt;<br class="">Date: ven. 19 juin 2015 à&nbsp;18:17<br class="">Subject: Re: [cdi-dev] Added chapter for context in Java SE.<br class="">To: Sabot-Durand Antoine &lt;<a href="mailto:antoine@sabot-durand.net" class="">antoine@sabot-durand.net</a>&gt;<br class=""></div><br class=""><br class="">Good evening Antoine!<br class="">
<br class="">
Is this mail deliberately private or did you just forget to cc cdi-dev?<br class="">
In any case, feel free to forward my reply to the public list.<br class="">
<br class="">
<br class="">
You bring up a good point. Is JavaSE really a NEW mode?<br class="">
Or is it rather making official what was initially intended? This was looong before your time - this was back when the spec still was coined ‚WebBeans‘. Back then we originally wanted to make a DI for ALL Java. We even wanted to use the javax.inject package looong before there was even an atinject spec. But ‚politics‘ forced us to add the JavaEE moniker. Ask Gavin or Pete over a Beer or a good Scotch if you like to hear those story :)<br class="">
<br class="">
I rather would _not_ make it a new mode but just stretch the officially supported usage of the CDI programming model 1:1 to JavaSE as well. That is what exists with DeltaSpike CdiCtrl and what user already use in a _broad_ way. People imo like to be able to re-use their CDI jars regardless whether it is SE or EE. If we define that the programming model is behaving different between SE and EE than I fear we might upset a lot or users.<br class="">
<br class="">
LieGrue,<br class="">
strub<br class="">
<br class="">
PS: trying to make it to Paris, but need to check with customers and probably have to move a few university lectures. So not sure.<br class="">
<br class="">
<br class="">
&gt; Am 17.06.2015 um 18:28 schrieb Antoine Sabot-Durand &lt;<a href="mailto:antoine@sabot-durand.net" target="_blank" class="">antoine@sabot-durand.net</a>&gt;:<br class="">
&gt;<br class="">
&gt; Mark,<br class="">
&gt;<br class="">
&gt; CDI for Java SE breaks the compatibility with the rest of CDI since it's a new feature. And again this will be discussed in CDI-530. I find more logical to propose a restraint feature in the EDR and open it later than the contrary.<br class="">
&gt; Unless you think that CDI-530 is irrelevant and that context control in SE are useless...<br class="">
&gt;<br class="">
&gt; Antoine<br class="">
&gt;<br class="">
&gt; Le lun. 15 juin 2015 à 23:05, Mark Struberg &lt;<a href="mailto:struberg@yahoo.de" target="_blank" class="">struberg@yahoo.de</a>&gt; a écrit :<br class="">
&gt; Again: this breaks compat with the rest of CDI.<br class="">
&gt; CDI defines that the request context is basically always on by default.<br class="">
&gt; So we need this to be enabled by default as well imp.<br class="">
&gt;<br class="">
&gt; LieGrue,<br class="">
&gt; Strub<br class="">
&gt;<br class="">
&gt;<br class="">
&gt; Gesendet von Yahoo Mail für iPad<br class="">
&gt;<br class="">
&gt; Um 15.06.2015 16:26:12 schrieb Antoine Sabot-Durand:Hi all,<br class="">
&gt;<br class="">
&gt;<br class="">
&gt; I added a Scopes and contexts in Java SE chapter to specify that only Application Context is active under Java SE.<br class="">
&gt; This part will probably refine later thru CDI-530<br class="">
&gt;<br class="">
&gt; Antoine<br class="">
&gt;<br class="">
<br class="">
</div></div>
_______________________________________________<br class="">cdi-dev mailing list<br class=""><a href="mailto:cdi-dev@lists.jboss.org" class="">cdi-dev@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/cdi-dev<br class=""><br class="">Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.</div></blockquote></div><br class=""></div></body></html>