<div dir="ltr">Good points by both of you.<div><br></div><div>@Mark about your earlier posts</div><div>Sure, 330 started a bit later than 299, and I know best (because I was one of the few EC members also actively participating in discussion threads like Google Groups to help them find synergies) there was a bit of &quot;pissing contest&quot; or &quot;not invented here&quot; friction between Spec Leads and experts of 299 and 330 (in itself the &quot;least common denominator&quot; of several other ideas including Spring or Guice)</div><div><br></div><div>We saw these things go pretty wrong in cases like JSR 310 (the Spec Lead just figured everything was &quot;crap&quot; that hd did not invent, and only a bit of naming or feature cropping was possible by JDK architects and Oracle, but a lot of things are reinvented even when it comes to formatting, etc. not at all in line with other parts Java SE) or 107 vs. 347 (where the latter simply gave up due to lack of interest or resources, despite proposed by the compnay that also leads the CDI spec) but for most parts I&#39;d say, it went reasonably well for 330 and 299+</div><div><br></div><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="margin:0px;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:Calibri">Werner</span></p></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Aug 31, 2015 at 10:11 AM,  <span dir="ltr">&lt;<a href="mailto:cdi-dev-request@lists.jboss.org" target="_blank">cdi-dev-request@lists.jboss.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send cdi-dev mailing list submissions to<br>
        <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:cdi-dev-request@lists.jboss.org">cdi-dev-request@lists.jboss.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cdi-dev-owner@lists.jboss.org">cdi-dev-owner@lists.jboss.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of cdi-dev digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Time to start working on CDI lite (Romain Manni-Bucau)<br>
   2. Re: Time to start working on CDI lite (Martin Kouba)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 31 Aug 2015 10:00:58 +0200<br>
From: Romain Manni-Bucau &lt;<a href="mailto:rmannibucau@gmail.com">rmannibucau@gmail.com</a>&gt;<br>
Subject: Re: [cdi-dev] Time to start working on CDI lite<br>
To: Antonio Goncalves &lt;<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt;<br>
Cc: cdi-dev &lt;<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>&gt;<br>
Message-ID:<br>
        &lt;CACLE=<a href="mailto:7MzVcBrhnoeUpo6ZAMpDu_04SOWSttWc-hRJL4wm8vpDw@mail.gmail.com">7MzVcBrhnoeUpo6ZAMpDu_04SOWSttWc-hRJL4wm8vpDw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
@Antonio: spring and guice have events, they just dont work the same way<br>
CDI defined them but not a big deal IMO to support them (just one more<br>
processor for spring for instance).<br>
<br>
<br>
Romain Manni-Bucau<br>
@rmannibucau &lt;<a href="https://twitter.com/rmannibucau" rel="noreferrer" target="_blank">https://twitter.com/rmannibucau</a>&gt; |  Blog<br>
&lt;<a href="http://rmannibucau.wordpress.com" rel="noreferrer" target="_blank">http://rmannibucau.wordpress.com</a>&gt; | Github &lt;<a href="https://github.com/rmannibucau" rel="noreferrer" target="_blank">https://github.com/rmannibucau</a>&gt; |<br>
LinkedIn &lt;<a href="https://www.linkedin.com/in/rmannibucau" rel="noreferrer" target="_blank">https://www.linkedin.com/in/rmannibucau</a>&gt; | Tomitriber<br>
&lt;<a href="http://www.tomitribe.com" rel="noreferrer" target="_blank">http://www.tomitribe.com</a>&gt;<br>
<br>
2015-08-31 9:57 GMT+02:00 Antonio Goncalves &lt;<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt;:<br>
<br>
&gt; I don&#39;t see Events in a &quot;Lite&quot; version because the other DI frameworks<br>
&gt; don&#39;t use them. A &quot;fatter&quot; 330 with producers, programmatic lookup and<br>
&gt; bootstrap, could be &quot;easily&quot; implemented by Spring, Guice... If we leave<br>
&gt; events in a Lite version, then it won&#39;t be the case, and Weld and OWB will<br>
&gt; be the only two implementations.<br>
&gt;<br>
&gt; For me, a Lite version would just be about DI. If Weld uses events<br>
&gt; internally to archieve basic DI, well, it&#39;s just an implementation<br>
&gt; decision, not a spec. I would not even try to standardize the way @Inject<br>
&gt; works (like Romain said, @Inject doesn&#39;t work the same in Weld or Spring),<br>
&gt; let&#39;s leave it like this. If you take back Antoine sentence &quot;*This would<br>
&gt; allow using CDI in constrained environment like mobile or embedded devices*&quot;,<br>
&gt; then I don&#39;t think events would fit here.<br>
&gt;<br>
&gt; Antonio<br>
&gt;<br>
&gt; On Mon, Aug 31, 2015 at 8:25 AM, Mark Struberg &lt;<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; &gt; For me, a Light version of CDI is clearly the features number. That&#39;s<br>
&gt;&gt; why I don&#39;t see events in it.<br>
&gt;&gt;<br>
&gt;&gt; We did discuss this last year on the f2f meeting. The problem lies within<br>
&gt;&gt; our Extension mechanism. Without events you also need to drop the Extension<br>
&gt;&gt; mechanism. And to be honest, this is THE major hit in all CDI?<br>
&gt;&gt; Sorry to be the bad guy busting all those ideas. I really don?t want to,<br>
&gt;&gt; but better now than too late down the road ;)<br>
&gt;&gt;<br>
&gt;&gt; It?s really tricky as many features are heavily based on each other. E.g.<br>
&gt;&gt; by removing scanning you could get rid of javassist/asm/etc ? nope, we also<br>
&gt;&gt; have our class proxies which need bytecode tinkering. So remove<br>
&gt;&gt; interceptors and decorators too? Well yea, but we still have normalscoping<br>
&gt;&gt; -&gt; what is left? basically spring prototype and singleton. Hmm.  that?s not<br>
&gt;&gt; that much compared to full CDI. And all that for only 200kByte?<br>
&gt;&gt; (Btw we also discussed generating the bytecode classes at build time, but<br>
&gt;&gt; then we still miss the dynamics we get from Extensions, e.g. PAT adding an<br>
&gt;&gt; interceptor annotation)<br>
&gt;&gt; Just to give you a rough idea how this all works together when it comes<br>
&gt;&gt; to implementation details?<br>
&gt;&gt; Please feel free to ask Jozef and me for further infos on ?dependencies?.<br>
&gt;&gt;<br>
&gt;&gt; LieGrue,<br>
&gt;&gt; strub<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &gt; Am 30.08.2015 um 18:09 schrieb Antonio Goncalves &lt;<br>
&gt;&gt; <a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt;:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; For me, a Light version of CDI is clearly the features number. That&#39;s<br>
&gt;&gt; why I don&#39;t see events in it.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; For me, a CDI Lite would just focus on DI. If CDI has @Produces and<br>
&gt;&gt; Spring has @Bean, then it&#39;s because 330 lakes this functionality.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sun, Aug 30, 2015 at 4:02 PM, Romain Manni-Bucau &lt;<br>
&gt;&gt; <a href="mailto:rmannibucau@gmail.com">rmannibucau@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Lite can have several definition, let&#39;s try to list them up if it can<br>
&gt;&gt; help:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; - binary size: for me until 3M for an app it is &quot;Lite&quot;<br>
&gt;&gt; &gt; - features number: the whole IoC set of feature is light since you<br>
&gt;&gt; almost always need it, it means you can do lighter but it wouldnt be used -<br>
&gt;&gt; check spring, who uses only spring-ioc and not context or more?<br>
&gt;&gt; &gt; - features complexity: sure we are not light here but supporting scopes<br>
&gt;&gt; already breaks &quot;Lite-ness&quot; IMO so not a real issue<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; So my view is CDI &quot;SE&quot; is light enough - as a spec and spec can&#39;t<br>
&gt;&gt; affect implementations so seems the fight is not on the right side to me.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Romain Manni-Bucau<br>
&gt;&gt; &gt; @rmannibucau |  Blog | Github | LinkedIn | Tomitriber<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 2015-08-30 15:57 GMT+02:00 Antonio Goncalves &lt;<br>
&gt;&gt; <a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt;:<br>
&gt;&gt; &gt; It&#39;s funny, I feel I&#39;m in Rod Johnson shoes back in Java EE 6 where he<br>
&gt;&gt; forked 330 because he found CDI was doing too much  ;o)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; For me, &quot;CDI Lite&quot; was just basic dependency injection. The fact that<br>
&gt;&gt; CDI can now run on SE (like JPA....), is good... but for me it has nothing<br>
&gt;&gt; to do with Light : it&#39;s the entire thing that can bootstrap in SE. Good.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; So what is Lite for you guys ?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Antonio<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sun, Aug 30, 2015 at 3:44 PM, Romain Manni-Bucau &lt;<br>
&gt;&gt; <a href="mailto:rmannibucau@gmail.com">rmannibucau@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; 2015-08-30 15:22 GMT+02:00 John D. Ament &lt;<a href="mailto:john.d.ament@gmail.com">john.d.ament@gmail.com</a>&gt;:<br>
&gt;&gt; &gt; Personally, I&#39;m not in favor of a slimmed down runtime.  It was tried<br>
&gt;&gt; with EJB, but never implemented properly (most implementations that support<br>
&gt;&gt; EJB-lite actually support the entire thing, except for deprecated stuff).<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; +1, most of CDI is basic and quickly any light version will miss events<br>
&gt;&gt; or other thing - in particular in maintaining micro services from<br>
&gt;&gt; experience. Size of an implementation can easily be &lt; 1M so not sure it<br>
&gt;&gt; would bring anything. Only important point is what Antoine started to do ie<br>
&gt;&gt; ensuring EE and SE parts are clearly identified and split in the spec.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I think if we define SE properly we won&#39;t have a need for this.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; John<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sun, Aug 30, 2015 at 8:07 AM Antonio Goncalves &lt;<br>
&gt;&gt; <a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; @Antoine, so which content do you see in CDI Lite ? Are you sure about<br>
&gt;&gt; events ?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I&#39;m in favor of a &quot;fatter&quot; 330 that would have :<br>
&gt;&gt; &gt;       ? @Inject : already there<br>
&gt;&gt; &gt;       ? @Qualifier : already there<br>
&gt;&gt; &gt;       ? Producers and disposers<br>
&gt;&gt; &gt;       ? Programatic lookup<br>
&gt;&gt; &gt;       ? Java SE Bootstrap<br>
&gt;&gt; &gt; When you say &quot;The goal here is not to propose a new EE profile but a<br>
&gt;&gt; subspec&quot;, 330 could already be seen as a subspec. If you put events<br>
&gt;&gt; apparts, what would be missing in this list in your point of view ? And<br>
&gt;&gt; what obstacles do you see in archieving this ?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; To boostrap CDI we have a CDIProvider, why not having an<br>
&gt;&gt; InjectionProvider just to bootstrap 330 (then, CDIProvider could extend<br>
&gt;&gt; InjectionProvider, so it bootstraps the all thing) ?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Antonio<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sun, Aug 30, 2015 at 9:09 AM, Antoine Sabot-Durand &lt;<br>
&gt;&gt; <a href="mailto:antoine@sabot-durand.net">antoine@sabot-durand.net</a>&gt; wrote:<br>
&gt;&gt; &gt; Yes Arjan, I think it&#39;s the first reason. We really should work with<br>
&gt;&gt; them to understand what should be added to CDI 2.0 to have it as a first<br>
&gt;&gt; citizen DI in their spec.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Le sam. 29 ao?t 2015 ? 23:15, arjan tijms &lt;<a href="mailto:arjan.tijms@gmail.com">arjan.tijms@gmail.com</a>&gt; a<br>
&gt;&gt; ?crit :<br>
&gt;&gt; &gt; On Sat, Aug 29, 2015 at 8:45 PM, Antonio Goncalves<br>
&gt;&gt; &gt; &lt;<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; &gt; I remember talking with the JAX-RS guys (Java EE), years ago (back in<br>
&gt;&gt; EE6),<br>
&gt;&gt; &gt; &gt; and their answer for not adopting CDI was &quot;too heavy&quot;.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I can&#39;t find an exact reference anymore, but I somewhat remember that<br>
&gt;&gt; &gt; one of the reasons was also simply that CDI as a general solution<br>
&gt;&gt; &gt; finished late in Java EE 6, while JAX-RS finished earlier and had all<br>
&gt;&gt; &gt; the work for their own DI solution already done.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Antonio Goncalves<br>
&gt;&gt; &gt; Software architect, Java Champion and Pluralsight author<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Web site | Twitter | LinkedIn | Pluralsight | Paris JUG | Devoxx France<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; cdi-dev mailing list<br>
&gt;&gt; &gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Note that for all code provided on this list, the provider licenses the<br>
&gt;&gt; code under the Apache License, Version 2 (<br>
&gt;&gt; <a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt;&gt; provided on this list, the provider waives all patent and other<br>
&gt;&gt; intellectual property rights inherent in such information.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; cdi-dev mailing list<br>
&gt;&gt; &gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Note that for all code provided on this list, the provider licenses the<br>
&gt;&gt; code under the Apache License, Version 2 (<br>
&gt;&gt; <a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt;&gt; provided on this list, the provider waives all patent and other<br>
&gt;&gt; intellectual property rights inherent in such information.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Antonio Goncalves<br>
&gt;&gt; &gt; Software architect, Java Champion and Pluralsight author<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Web site | Twitter | LinkedIn | Pluralsight | Paris JUG | Devoxx France<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Antonio Goncalves<br>
&gt;&gt; &gt; Software architect, Java Champion and Pluralsight author<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Web site | Twitter | LinkedIn | Pluralsight | Paris JUG | Devoxx France<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; cdi-dev mailing list<br>
&gt;&gt; &gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Note that for all code provided on this list, the provider licenses the<br>
&gt;&gt; code under the Apache License, Version 2 (<br>
&gt;&gt; <a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt;&gt; provided on this list, the provider waives all patent and other<br>
&gt;&gt; intellectual property rights inherent in such information.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Antonio Goncalves<br>
&gt; Software architect, Java Champion and Pluralsight author<br>
&gt;<br>
&gt; Web site &lt;<a href="http://www.antoniogoncalves.org" rel="noreferrer" target="_blank">http://www.antoniogoncalves.org</a>&gt; | Twitter<br>
&gt; &lt;<a href="http://twitter.com/agoncal" rel="noreferrer" target="_blank">http://twitter.com/agoncal</a>&gt; | LinkedIn<br>
&gt; &lt;<a href="http://www.linkedin.com/in/agoncal" rel="noreferrer" target="_blank">http://www.linkedin.com/in/agoncal</a>&gt; | Pluralsight<br>
&gt; &lt;<a href="http://pluralsight.com/training/Authors/Details/antonio-goncalves" rel="noreferrer" target="_blank">http://pluralsight.com/training/Authors/Details/antonio-goncalves</a>&gt; | Paris<br>
&gt; JUG &lt;<a href="http://www.parisjug.org" rel="noreferrer" target="_blank">http://www.parisjug.org</a>&gt; | Devoxx France &lt;<a href="http://www.devoxx.fr" rel="noreferrer" target="_blank">http://www.devoxx.fr</a>&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.jboss.org/pipermail/cdi-dev/attachments/20150831/4d1b9468/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.jboss.org/pipermail/cdi-dev/attachments/20150831/4d1b9468/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 31 Aug 2015 10:11:54 +0200<br>
From: Martin Kouba &lt;<a href="mailto:mkouba@redhat.com">mkouba@redhat.com</a>&gt;<br>
Subject: Re: [cdi-dev] Time to start working on CDI lite<br>
To: Antonio Goncalves &lt;<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt;,    Mark Struberg<br>
        &lt;<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>&gt;<br>
Cc: cdi-dev &lt;<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:55E40C4A.4090905@redhat.com">55E40C4A.4090905@redhat.com</a>&gt;<br>
Content-Type: text/plain; charset=windows-1252; format=flowed<br>
<br>
Dne 31.8.2015 v 09:57 Antonio Goncalves napsal(a):<br>
&gt; I don&#39;t see Events in a &quot;Lite&quot; version because the other DI frameworks<br>
&gt; don&#39;t use them. A &quot;fatter&quot; 330 with producers, programmatic lookup and<br>
&gt; bootstrap, could be &quot;easily&quot; implemented by Spring, Guice... If we leave<br>
&gt; events in a Lite version, then it won&#39;t be the case, and Weld and OWB<br>
&gt; will be the only two implementations.<br>
&gt;<br>
&gt; For me, a Lite version would just be about DI. If Weld uses events<br>
&gt; internally to archieve basic DI, well, it&#39;s just an implementation<br>
&gt; decision, not a spec. I would not even try to standardize the way<br>
&gt; @Inject works (like Romain said, @Inject doesn&#39;t work the same in Weld<br>
&gt; or Spring), let&#39;s leave it like this.<br>
<br>
If you don&#39;t standardize how @Inject works then what&#39;s the purpose of<br>
having something like CDI Lite and many implementations which work<br>
differently? A user of implementation &quot;A&quot; will not be able to switch to<br>
implementation &quot;B&quot; easily. And that&#39;s one of the most important benefits<br>
of standardization...<br>
<br>
If you take back Antoine sentence<br>
&gt; &quot;/This would allow using CDI in constrained environment like mobile or<br>
&gt; embedded devices/&quot;, then I don&#39;t think events would fit here.<br>
&gt;<br>
&gt; Antonio<br>
&gt;<br>
&gt; On Mon, Aug 31, 2015 at 8:25 AM, Mark Struberg &lt;<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a><br>
&gt; &lt;mailto:<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     &gt; For me, a Light version of CDI is clearly the features number. That&#39;s why I don&#39;t see events in it.<br>
&gt;<br>
&gt;     We did discuss this last year on the f2f meeting. The problem lies<br>
&gt;     within our Extension mechanism. Without events you also need to drop<br>
&gt;     the Extension mechanism. And to be honest, this is THE major hit in<br>
&gt;     all CDI?<br>
&gt;     Sorry to be the bad guy busting all those ideas. I really don?t want<br>
&gt;     to, but better now than too late down the road ;)<br>
&gt;<br>
&gt;     It?s really tricky as many features are heavily based on each other.<br>
&gt;     E.g. by removing scanning you could get rid of javassist/asm/etc ?<br>
&gt;     nope, we also have our class proxies which need bytecode tinkering.<br>
&gt;     So remove interceptors and decorators too? Well yea, but we still<br>
&gt;     have normalscoping -&gt; what is left? basically spring prototype and<br>
&gt;     singleton. Hmm.  that?s not that much compared to full CDI. And all<br>
&gt;     that for only 200kByte?<br>
&gt;     (Btw we also discussed generating the bytecode classes at build<br>
&gt;     time, but then we still miss the dynamics we get from Extensions,<br>
&gt;     e.g. PAT adding an interceptor annotation)<br>
&gt;     Just to give you a rough idea how this all works together when it<br>
&gt;     comes to implementation details?<br>
&gt;     Please feel free to ask Jozef and me for further infos on<br>
&gt;     ?dependencies?.<br>
&gt;<br>
&gt;     LieGrue,<br>
&gt;     strub<br>
&gt;<br>
&gt;<br>
&gt;      &gt; Am 30.08.2015 um 18:09 schrieb Antonio Goncalves<br>
&gt;     &lt;<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a> &lt;mailto:<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt;&gt;:<br>
&gt;      &gt;<br>
&gt;      &gt; For me, a Light version of CDI is clearly the features number.<br>
&gt;     That&#39;s why I don&#39;t see events in it.<br>
&gt;      &gt;<br>
&gt;      &gt; For me, a CDI Lite would just focus on DI. If CDI has @Produces<br>
&gt;     and Spring has @Bean, then it&#39;s because 330 lakes this functionality.<br>
&gt;      &gt;<br>
&gt;      &gt; On Sun, Aug 30, 2015 at 4:02 PM, Romain Manni-Bucau<br>
&gt;     &lt;<a href="mailto:rmannibucau@gmail.com">rmannibucau@gmail.com</a> &lt;mailto:<a href="mailto:rmannibucau@gmail.com">rmannibucau@gmail.com</a>&gt;&gt; wrote:<br>
&gt;      &gt; Lite can have several definition, let&#39;s try to list them up if it<br>
&gt;     can help:<br>
&gt;      &gt;<br>
&gt;      &gt; - binary size: for me until 3M for an app it is &quot;Lite&quot;<br>
&gt;      &gt; - features number: the whole IoC set of feature is light since<br>
&gt;     you almost always need it, it means you can do lighter but it<br>
&gt;     wouldnt be used - check spring, who uses only spring-ioc and not<br>
&gt;     context or more?<br>
&gt;      &gt; - features complexity: sure we are not light here but supporting<br>
&gt;     scopes already breaks &quot;Lite-ness&quot; IMO so not a real issue<br>
&gt;      &gt;<br>
&gt;      &gt; So my view is CDI &quot;SE&quot; is light enough - as a spec and spec can&#39;t<br>
&gt;     affect implementations so seems the fight is not on the right side<br>
&gt;     to me.<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt; Romain Manni-Bucau<br>
&gt;      &gt; @rmannibucau |  Blog | Github | LinkedIn | Tomitriber<br>
&gt;      &gt;<br>
&gt;      &gt; 2015-08-30 15:57 GMT+02:00 Antonio Goncalves<br>
&gt;     &lt;<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a> &lt;mailto:<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt;&gt;:<br>
&gt;      &gt; It&#39;s funny, I feel I&#39;m in Rod Johnson shoes back in Java EE 6<br>
&gt;     where he forked 330 because he found CDI was doing too much  ;o)<br>
&gt;      &gt;<br>
&gt;      &gt; For me, &quot;CDI Lite&quot; was just basic dependency injection. The fact<br>
&gt;     that CDI can now run on SE (like JPA....), is good... but for me it<br>
&gt;     has nothing to do with Light : it&#39;s the entire thing that can<br>
&gt;     bootstrap in SE. Good.<br>
&gt;      &gt;<br>
&gt;      &gt; So what is Lite for you guys ?<br>
&gt;      &gt;<br>
&gt;      &gt; Antonio<br>
&gt;      &gt;<br>
&gt;      &gt; On Sun, Aug 30, 2015 at 3:44 PM, Romain Manni-Bucau<br>
&gt;     &lt;<a href="mailto:rmannibucau@gmail.com">rmannibucau@gmail.com</a> &lt;mailto:<a href="mailto:rmannibucau@gmail.com">rmannibucau@gmail.com</a>&gt;&gt; wrote:<br>
&gt;      &gt; 2015-08-30 15:22 GMT+02:00 John D. Ament &lt;<a href="mailto:john.d.ament@gmail.com">john.d.ament@gmail.com</a><br>
&gt;     &lt;mailto:<a href="mailto:john.d.ament@gmail.com">john.d.ament@gmail.com</a>&gt;&gt;:<br>
&gt;      &gt; Personally, I&#39;m not in favor of a slimmed down runtime.  It was<br>
&gt;     tried with EJB, but never implemented properly (most implementations<br>
&gt;     that support EJB-lite actually support the entire thing, except for<br>
&gt;     deprecated stuff).<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt; +1, most of CDI is basic and quickly any light version will miss<br>
&gt;     events or other thing - in particular in maintaining micro services<br>
&gt;     from experience. Size of an implementation can easily be &lt; 1M so not<br>
&gt;     sure it would bring anything. Only important point is what Antoine<br>
&gt;     started to do ie ensuring EE and SE parts are clearly identified and<br>
&gt;     split in the spec.<br>
&gt;      &gt;<br>
&gt;      &gt; I think if we define SE properly we won&#39;t have a need for this.<br>
&gt;      &gt;<br>
&gt;      &gt; John<br>
&gt;      &gt;<br>
&gt;      &gt; On Sun, Aug 30, 2015 at 8:07 AM Antonio Goncalves<br>
&gt;     &lt;<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a> &lt;mailto:<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt;&gt;<br>
&gt;     wrote:<br>
&gt;      &gt; @Antoine, so which content do you see in CDI Lite ? Are you sure<br>
&gt;     about events ?<br>
&gt;      &gt;<br>
&gt;      &gt; I&#39;m in favor of a &quot;fatter&quot; 330 that would have :<br>
&gt;      &gt;       ? @Inject : already there<br>
&gt;      &gt;       ? @Qualifier : already there<br>
&gt;      &gt;       ? Producers and disposers<br>
&gt;      &gt;       ? Programatic lookup<br>
&gt;      &gt;       ? Java SE Bootstrap<br>
&gt;      &gt; When you say &quot;The goal here is not to propose a new EE profile<br>
&gt;     but a subspec&quot;, 330 could already be seen as a subspec. If you put<br>
&gt;     events apparts, what would be missing in this list in your point of<br>
&gt;     view ? And what obstacles do you see in archieving this ?<br>
&gt;      &gt;<br>
&gt;      &gt; To boostrap CDI we have a CDIProvider, why not having an<br>
&gt;     InjectionProvider just to bootstrap 330 (then, CDIProvider could<br>
&gt;     extend InjectionProvider, so it bootstraps the all thing) ?<br>
&gt;      &gt;<br>
&gt;      &gt; Antonio<br>
&gt;      &gt;<br>
&gt;      &gt; On Sun, Aug 30, 2015 at 9:09 AM, Antoine Sabot-Durand<br>
&gt;     &lt;<a href="mailto:antoine@sabot-durand.net">antoine@sabot-durand.net</a> &lt;mailto:<a href="mailto:antoine@sabot-durand.net">antoine@sabot-durand.net</a>&gt;&gt; wrote:<br>
&gt;      &gt; Yes Arjan, I think it&#39;s the first reason. We really should work<br>
&gt;     with them to understand what should be added to CDI 2.0 to have it<br>
&gt;     as a first citizen DI in their spec.<br>
&gt;      &gt;<br>
&gt;      &gt; Le sam. 29 ao?t 2015 ? 23:15, arjan tijms &lt;<a href="mailto:arjan.tijms@gmail.com">arjan.tijms@gmail.com</a><br>
&gt;     &lt;mailto:<a href="mailto:arjan.tijms@gmail.com">arjan.tijms@gmail.com</a>&gt;&gt; a ?crit :<br>
&gt;      &gt; On Sat, Aug 29, 2015 at 8:45 PM, Antonio Goncalves<br>
&gt;      &gt; &lt;<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a><br>
&gt;     &lt;mailto:<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt;&gt; wrote:<br>
&gt;      &gt; &gt; I remember talking with the JAX-RS guys (Java EE), years ago<br>
&gt;     (back in EE6),<br>
&gt;      &gt; &gt; and their answer for not adopting CDI was &quot;too heavy&quot;.<br>
&gt;      &gt;<br>
&gt;      &gt; I can&#39;t find an exact reference anymore, but I somewhat remember that<br>
&gt;      &gt; one of the reasons was also simply that CDI as a general solution<br>
&gt;      &gt; finished late in Java EE 6, while JAX-RS finished earlier and had all<br>
&gt;      &gt; the work for their own DI solution already done.<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt; --<br>
&gt;      &gt; Antonio Goncalves<br>
&gt;      &gt; Software architect, Java Champion and Pluralsight author<br>
&gt;      &gt;<br>
&gt;      &gt; Web site | Twitter | LinkedIn | Pluralsight | Paris JUG | Devoxx<br>
&gt;     France<br>
&gt;      &gt; _______________________________________________<br>
&gt;      &gt; cdi-dev mailing list<br>
&gt;      &gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a> &lt;mailto:<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>&gt;<br>
&gt;      &gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;      &gt;<br>
&gt;      &gt; Note that for all code provided on this list, the provider<br>
&gt;     licenses the code under the Apache License, Version 2<br>
&gt;     (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other<br>
&gt;     ideas provided on this list, the provider waives all patent and<br>
&gt;     other intellectual property rights inherent in such information.<br>
&gt;      &gt;<br>
&gt;      &gt; _______________________________________________<br>
&gt;      &gt; cdi-dev mailing list<br>
&gt;      &gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a> &lt;mailto:<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>&gt;<br>
&gt;      &gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;      &gt;<br>
&gt;      &gt; Note that for all code provided on this list, the provider<br>
&gt;     licenses the code under the Apache License, Version 2<br>
&gt;     (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other<br>
&gt;     ideas provided on this list, the provider waives all patent and<br>
&gt;     other intellectual property rights inherent in such information.<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt; --<br>
&gt;      &gt; Antonio Goncalves<br>
&gt;      &gt; Software architect, Java Champion and Pluralsight author<br>
&gt;      &gt;<br>
&gt;      &gt; Web site | Twitter | LinkedIn | Pluralsight | Paris JUG | Devoxx<br>
&gt;     France<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt; --<br>
&gt;      &gt; Antonio Goncalves<br>
&gt;      &gt; Software architect, Java Champion and Pluralsight author<br>
&gt;      &gt;<br>
&gt;      &gt; Web site | Twitter | LinkedIn | Pluralsight | Paris JUG | Devoxx<br>
&gt;     France<br>
&gt;      &gt; _______________________________________________<br>
&gt;      &gt; cdi-dev mailing list<br>
&gt;      &gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a> &lt;mailto:<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>&gt;<br>
&gt;      &gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;      &gt;<br>
&gt;      &gt; Note that for all code provided on this list, the provider<br>
&gt;     licenses the code under the Apache License, Version 2<br>
&gt;     (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other<br>
&gt;     ideas provided on this list, the provider waives all patent and<br>
&gt;     other intellectual property rights inherent in such information.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Antonio Goncalves<br>
&gt; Software architect, Java Champion and Pluralsight author<br>
&gt;<br>
&gt; Web site &lt;<a href="http://www.antoniogoncalves.org" rel="noreferrer" target="_blank">http://www.antoniogoncalves.org</a>&gt; | Twitter<br>
&gt; &lt;<a href="http://twitter.com/agoncal" rel="noreferrer" target="_blank">http://twitter.com/agoncal</a>&gt; | LinkedIn<br>
&gt; &lt;<a href="http://www.linkedin.com/in/agoncal" rel="noreferrer" target="_blank">http://www.linkedin.com/in/agoncal</a>&gt; | Pluralsight<br>
&gt; &lt;<a href="http://pluralsight.com/training/Authors/Details/antonio-goncalves" rel="noreferrer" target="_blank">http://pluralsight.com/training/Authors/Details/antonio-goncalves</a>&gt; |<br>
&gt; Paris JUG &lt;<a href="http://www.parisjug.org" rel="noreferrer" target="_blank">http://www.parisjug.org</a>&gt; | Devoxx France &lt;<a href="http://www.devoxx.fr" rel="noreferrer" target="_blank">http://www.devoxx.fr</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; cdi-dev mailing list<br>
&gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;<br>
&gt; Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br>
&gt;<br>
<br>
--<br>
Martin Kouba<br>
Software Engineer<br>
Red Hat, Czech Republic<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
<br>
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>).  For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br>
<br>
End of cdi-dev Digest, Vol 57, Issue 43<br>
***************************************<br>
</blockquote></div><br></div></div></div>