<p dir="ltr">Hi,</p>
<p dir="ltr">If it&#39;s not really usable as API or annotation I don&#39;t see much value in adding some &quot;how to&quot; or intent for the future into the Spec Document.</p>
<p dir="ltr">If it was to become a part of CDI 2, there&#39;s nothing against optionality like MEEP 8 or JSR 363 already practice on the SE/EE side either. </p>
<p dir="ltr">Agorava/DeltaSpike demonstrate how true modularity work, similar to the JSRs mentioned above, where you have multiple module JARs/bundles instead of a big monolithic one. Some JSRs like Batch also declared separate &quot;annotation&quot; modules, so that&#39;s what CDI 2 should also do if it was a feature Inside of it. <br>
Calling some features optional if they&#39;re not used by every implementation allows them to chose. That was also the main value of keeping @Inject a separate &quot;module&quot; under CDI. It was never included into a JDK but used independently. </p>
<p dir="ltr">The core of a Config module would ideally work in SE, but CDI 2 already declared an aim to have some modules work under SE.</p>
<p dir="ltr">Werner</p>
<div class="gmail_quote">Am 08.09.2014 09:47 schrieb &quot;Antonio Goncalves&quot; &lt;<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt;:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I really have some concerns about adding configuration into CDI but I can see benefits too. And what about adding it... and not adding it at the same time ? In Bean Validation 1.0, the Expert Group decided not to include method-level validation in the spec (it was included in 1.1). But what they did is to add it as a proposal in the Appendix.</div><div><br></div><div>If we feel some configuration should get in, why not have a proposal in the Appendix of CDI 2.0  ? It could then be implemented by Weld (and OpenWebBeans if they feel like it). And then, if it&#39;s successful and things get easier, get its own JSR for Java EE 9.</div><div><br></div><div>WDYT ?</div><div><br></div><div>Antonio</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 8, 2014 at 7:03 AM, Romain Manni-Bucau <span dir="ltr">&lt;<a href="mailto:rmannibucau@gmail.com" target="_blank">rmannibucau@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hmm</p>
<p>I see config jsr as a jse spec which would allow EE injections in config components in EE containers (exactly like jbatch).</p>
<p>This way it can be used without any container or with any container easily. Only limit will be to not do something cdi/known containers will not support I think.</p>
<p>Not sure EE side is needed today, a lot can already be done without it and it can be enhanced later adding some integration words.</p>
<div class="gmail_quote">Le 8 sept. 2014 00:01, &quot;Anatole Tresch&quot; &lt;<a href="mailto:atsticks@gmail.com" target="_blank">atsticks@gmail.com</a>&gt; a écrit :<div><div><br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:large"><div class="gmail_default" style="font-family:arial,sans-serif">Hi Romain<br></div><div class="gmail_default" style="font-family:arial,sans-serif"><div class="gmail_default"><br></div><div class="gmail_default">just a few remarks inline...</div><div class="gmail_default"><br></div><div class="gmail_default"><div class="gmail_default">Summarizing</div><div class="gmail_default">1) injection of values, reinjection, feedback on config changes can all be done with already existing features (producers, extensions).</div><div class="gmail_default">2) configuring/bootstrapping CDI itself, e.g. configuration, is targeted with CDI 2.0 (see spec failing)</div><div class="gmail_default"><br></div><div class="gmail_default">So basically we could try to look if there is enough interest to standardize configuration in a more general way. For deployment aspects we need an EE JSR, for the rest, another SE standard may be an option as well... tbd...</div><div class="gmail_default"><br></div></div><div class="gmail_default">-Anatole</div><div class="gmail_extra" style="font-size:13px"><br><br><div class="gmail_quote"><span>2014-09-08 0:10 GMT+02:00 Romain Manni-Bucau <span dir="ltr">&lt;<a href="mailto:rmannibucau@gmail.com" target="_blank">rmannibucau@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">well sorry to pop in so late but here are my 2cts<br></blockquote></span><div class="gmail_default" style="font-size:large">​easy ;)​</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Config JSR is more about environment config IMHO and putting it in CDI<br>doesn&#39;t make sense since more or more spec works without any other<br>spec - CDI in our case.</blockquote><div><div class="gmail_default" style="font-size:large">​CDI even with some config mechanism added would still work &quot;standalone&quot;.​</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">This mean CDI can&#39;t be the place but should<br>just be the bridge for config JSR.</blockquote><div><div class="gmail_default" style="font-size:large">​As I suggested as well.​</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Plus CDI config will surely highly<br>be an application config first (beans.xml should be the place then)<br></blockquote><div><div class="gmail_default" style="font-size:large">​Yes, app config, but beware people of writing config into beans.xml. That is definitively in most cases not what you want.​ CDI should not define, where and how config is located and formatted. CDI should provide a SPI, where config providers can publish the configured values, so it can be injected wherever needed. E.g. some kind of producer, that can provide multiple objects to be injected and can benefit from some kind of callback mechanism would be sufficient...</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">then environment config can be done at EE level (saying it has to<br>support placeholders or any pre deployment processing).<br></blockquote><div class="gmail_default" style="font-size:large">​Config is much more complex. There is no clear border what is environment config or environment dependent and what not. This depends on what kind of application you have deployed. As an example the email address, where you send error messages, can be different depenending on the stage/environment, but this is not EE related config entry. Also what an environment is, is not a thing that you can define completely. So I agree not to add this complexities to CDI, I would hide them between some kind of &quot;config provider&quot;, as mentioned above.​ CDI does not need to know if the config provided is environment dependent or not, its just what is visible at a current runtime state...</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">If you put something like ProjectStage in CDI it is great but then you<br>have it in JSF, CDI and finally surely all specs...same as<br>converters...<br></blockquote><div><div class="gmail_default" style="font-size:large">​That was originally the idea, when doing a EE config JSR, but without such standard. I agree, CDI is not the place to define them.</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Config should really be split in:<br>1) spec dependent config -&gt; spec.xml<br>2) *common* config (a bit like javax.annotation) for environment and<br>external configuration -&gt; Config JSR<br></blockquote><div class="gmail_default" style="font-size:large">​Not 100% sure, if a get the point here...</div></div></div></div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-09-08 0:10 GMT+02:00 Romain Manni-Bucau <span dir="ltr">&lt;<a href="mailto:rmannibucau@gmail.com" target="_blank">rmannibucau@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">well sorry to pop in so late but here are my 2cts<br>
<br>
Config JSR is more about environment config IMHO and putting it in CDI<br>
doesn&#39;t make sense since more or more spec works without any other<br>
spec - CDI in our case. This mean CDI can&#39;t be the place but should<br>
just be the bridge for config JSR. Plus CDI config will surely highly<br>
be an application config first (beans.xml should be the place then)<br>
then environment config can be done at EE level (saying it has to<br>
support placeholders or any pre deployment processing).<br>
<br>
If you put something like ProjectStage in CDI it is great but then you<br>
have it in JSF, CDI and finally surely all specs...same as<br>
converters...<br>
<br>
Config should really be split in:<br>
1) spec dependent config -&gt; spec.xml<br>
2) *common* config (a bit like javax.annotation) for environment and<br>
external configuration -&gt; Config JSR<br>
<br>
wdyt?<br>
<span><font color="#888888"><br>
<br>
<br>
Romain Manni-Bucau<br>
Twitter: @rmannibucau<br>
Blog: <a href="http://rmannibucau.wordpress.com/" target="_blank">http://rmannibucau.wordpress.com/</a><br>
LinkedIn: <a href="http://fr.linkedin.com/in/rmannibucau" target="_blank">http://fr.linkedin.com/in/rmannibucau</a><br>
Github: <a href="https://github.com/rmannibucau" target="_blank">https://github.com/rmannibucau</a><br>
</font></span><div><div><br>
<br>
2014-09-07 23:39 GMT+02:00 Werner Keil &lt;<a href="mailto:werner.keil@gmail.com" target="_blank">werner.keil@gmail.com</a>&gt;:<br>
&gt; Sounds like an argument for a CDI module rather than a separate JSR then?;-)<br>
&gt;<br>
&gt; On Sun, Sep 7, 2014 at 11:32 PM, Anatole Tresch &lt;<a href="mailto:atsticks@gmail.com" target="_blank">atsticks@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I would not worry about CDI regarding licensing. Just the sentence was<br>
&gt;&gt; that Oracle does not want to have more ALv2 in addition to what is already<br>
&gt;&gt; there. So as long as we do things within CDI, no worries, I think. For new<br>
&gt;&gt; EE JSRs nevertheless this is a BIG issue and should be clarified by the EC!<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2014-09-07 21:44 GMT+02:00 Werner Keil &lt;<a href="mailto:werner.keil@gmail.com" target="_blank">werner.keil@gmail.com</a>&gt;:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Indeed, and with CDI 1.2 (MR) and 2.0 offering even the Spec under ALv2<br>
&gt;&gt;&gt; as a dual-license, this was discussed by EC Members but both JCP EC and<br>
&gt;&gt;&gt; Oracle Legal/PMO seems fine with it, and CDI is already an essential<br>
&gt;&gt;&gt; building block to Java EE 6/7, hence used with Glassfish, too. I wasn&#39;t<br>
&gt;&gt;&gt; involved in these discussions, but given CDI is especially liberal and fully<br>
&gt;&gt;&gt; accepted by JCP formalities and license policies, I don&#39;t really see what<br>
&gt;&gt;&gt; the problem wss for Anatole&#39;s JSR attempt (though I know, both Oracle and<br>
&gt;&gt;&gt; other EC Members/companies don&#39;t always prefer this kind of licensing...;-)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Werner<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Sun, Sep 7, 2014 at 9:28 PM, John D. Ament &lt;<a href="mailto:john.d.ament@gmail.com" target="_blank">john.d.ament@gmail.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Ok, this mail has me more concerned than anything.  Can you clarify this<br>
&gt;&gt;&gt;&gt; ALv2 statement? AFAIK, Weld (the CDI RI) is ALv2.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Sun, Sep 7, 2014 at 3:12 PM, Anatole Tresch &lt;<a href="mailto:atsticks@gmail.com" target="_blank">atsticks@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Hi All<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; unfortunately things seem quite complicated:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; first of all, similarities with Deltaspike are basically not<br>
&gt;&gt;&gt;&gt;&gt; accidental. The concepts we developed in Credit Suisse are very similar to<br>
&gt;&gt;&gt;&gt;&gt; Deltaspike, though Deltaspike was not yet born at that time. Fortunately we<br>
&gt;&gt;&gt;&gt;&gt; ended up with a similar kind of solution.<br>
&gt;&gt;&gt;&gt;&gt; filtering still can be done. My idea is to define some kind of<br>
&gt;&gt;&gt;&gt;&gt; &quot;configuration provider&quot;, which then is dynamically asked for configuration.<br>
&gt;&gt;&gt;&gt;&gt; How the provider is internally organized, is completely transparent to CDI.<br>
&gt;&gt;&gt;&gt;&gt; This enables to have multi-layered, complex config solutions work the same<br>
&gt;&gt;&gt;&gt;&gt; (from a view point of CDI) like simple programmatic test configurations<br>
&gt;&gt;&gt;&gt;&gt; during unit tests. The config provider still can support filtering and<br>
&gt;&gt;&gt;&gt;&gt; dynamic resolution as commonly used in configuration systems. Similarly the<br>
&gt;&gt;&gt;&gt;&gt; format is basically also not fixed. Of course, would a reference<br>
&gt;&gt;&gt;&gt;&gt; implementation provide a set of functionalities, but I would definitively<br>
&gt;&gt;&gt;&gt;&gt; not define the exact configuration mechanism as part of the CDI (or even a<br>
&gt;&gt;&gt;&gt;&gt; EE config JSR). Another reason, beside complexity and time, is the fact that<br>
&gt;&gt;&gt;&gt;&gt; different companies handle, store and manage configuration differently, so a<br>
&gt;&gt;&gt;&gt;&gt; mechanism must be flexible enough to accommodate these, without adoption<br>
&gt;&gt;&gt;&gt;&gt; rate will be low. Furthermore this flexibility also keeps doors open for use<br>
&gt;&gt;&gt;&gt;&gt; cases we do not know yet.<br>
&gt;&gt;&gt;&gt;&gt; Also we have to separate some basically two types of configuration<br>
&gt;&gt;&gt;&gt;&gt; aspects:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; application config basically is injected into deployed components, but<br>
&gt;&gt;&gt;&gt;&gt; basically only can affect deployment to the extend it can be managed and<br>
&gt;&gt;&gt;&gt;&gt; injected by CDI. The basic architecture and design, how application servers<br>
&gt;&gt;&gt;&gt;&gt; to load and deploy are basically not affected. This type of configuration<br>
&gt;&gt;&gt;&gt;&gt; (mechanism) I see also as a possible addition to CDI, if we really fail to<br>
&gt;&gt;&gt;&gt;&gt; do something in another JSR. With CDI going for a more modular design, even<br>
&gt;&gt;&gt;&gt;&gt; basic configuration of CDI can be possible, given we have some kind of API,<br>
&gt;&gt;&gt;&gt;&gt; we can access during CDI initialization.<br>
&gt;&gt;&gt;&gt;&gt; On the other side deployment configuration affects directly how the<br>
&gt;&gt;&gt;&gt;&gt; application server deploys the application. Configuration here would allow<br>
&gt;&gt;&gt;&gt;&gt; to define datasources, EJBs, transactional aspects, security, persistence,<br>
&gt;&gt;&gt;&gt;&gt; war and ear configurations etc. Basically everything you do as of today with<br>
&gt;&gt;&gt;&gt;&gt; some kind of XML file, or annotation. Hereby enabling more flexibility into<br>
&gt;&gt;&gt;&gt;&gt; the existing descriptors is relatively easy, but as mentioned by Mark,<br>
&gt;&gt;&gt;&gt;&gt; constraint. Adding more flexibility raises other subtle problems. Imagine a<br>
&gt;&gt;&gt;&gt;&gt; application module, e.g. a war, that defines everything it requires. There<br>
&gt;&gt;&gt;&gt;&gt; is no need to configure anything more on server side (with spring you can do<br>
&gt;&gt;&gt;&gt;&gt; this, with Java EE unfortunately not). But this has a severe consequence, it<br>
&gt;&gt;&gt;&gt;&gt; would make the application really portable in the sense, that it can be<br>
&gt;&gt;&gt;&gt;&gt; moved between different app servers (vendors) without any change (ideally).<br>
&gt;&gt;&gt;&gt;&gt; As a result commercial profits of some vendor companies may be affected. I<br>
&gt;&gt;&gt;&gt;&gt; think this is actually one of the key points, why things are getting so<br>
&gt;&gt;&gt;&gt;&gt; complicated in that area.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Legal aspects also were discussed. One of them is a possible legal<br>
&gt;&gt;&gt;&gt;&gt; clash of ALv2 with GPL. This is the case already within Glassfish, but one<br>
&gt;&gt;&gt;&gt;&gt; of the reasons, why ALv2 was not acceptable to Oracle&#39;s legal department. At<br>
&gt;&gt;&gt;&gt;&gt; the end we decided to use a BSD model. Even dual licensing BSD/ALv2 could<br>
&gt;&gt;&gt;&gt;&gt; theoretically be an option. If you would choose ALv2, Oracle will not<br>
&gt;&gt;&gt;&gt;&gt; include your RI into Glassfish, which is the RI for the EE Umbrella JSR,<br>
&gt;&gt;&gt;&gt;&gt; meaning your JSR will not be included into EE8. So what should we do? I<br>
&gt;&gt;&gt;&gt;&gt; don&#39;t have a good answer...<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; So, I like to discuss configuration aspects here. Nevertheless if we<br>
&gt;&gt;&gt;&gt;&gt; decide to add config aspects, be aware that we might only (mainly) support<br>
&gt;&gt;&gt;&gt;&gt; application config, since everything else directly would impact other JSRs.<br>
&gt;&gt;&gt;&gt;&gt; And that is obviously quite similar to what Apache Deltaspike is all about<br>
&gt;&gt;&gt;&gt;&gt; ;-)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Cheers,<br>
&gt;&gt;&gt;&gt;&gt; Anatole<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; 2014-09-07 14:46 GMT+02:00 Mark Struberg &lt;<a href="mailto:struberg@yahoo.de" target="_blank">struberg@yahoo.de</a>&gt;:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Yes, the config group also was (obviously) looking at DeltaSpikes<br>
&gt;&gt;&gt;&gt;&gt;&gt; config mechanism as well.<br>
&gt;&gt;&gt;&gt;&gt;&gt; There were others who wanted to go more into the &#39;filtering&#39; approach<br>
&gt;&gt;&gt;&gt;&gt;&gt; as done on WebLogic servers (though not sure who else does that as well).<br>
&gt;&gt;&gt;&gt;&gt;&gt; You know, having all the XML configs like WEB-INF/web.xml containing<br>
&gt;&gt;&gt;&gt;&gt;&gt; placeholders and the real values only get placed in there at deployment<br>
&gt;&gt;&gt;&gt;&gt;&gt; time. I personally find this approach a bit limited from a technical<br>
&gt;&gt;&gt;&gt;&gt;&gt; perspective and it already didn&#39;t work out for me when using WebLogic (what<br>
&gt;&gt;&gt;&gt;&gt;&gt; about changing a configured value after the deployment was done? What about<br>
&gt;&gt;&gt;&gt;&gt;&gt; security? Having passwords in web.xml, unit testing, ...).<br>
&gt;&gt;&gt;&gt;&gt;&gt; There are of course also other approaches which all might have strong<br>
&gt;&gt;&gt;&gt;&gt;&gt; sides and would have needed to get discussed.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; But utterly the problem seems to have been legal reasons. We even<br>
&gt;&gt;&gt;&gt;&gt;&gt; offered to have Anatole/CS lead the EG and do the RI as an ASF project with<br>
&gt;&gt;&gt;&gt;&gt;&gt; substantial support and participation from the JBoss, DeltaSpike and TomEE<br>
&gt;&gt;&gt;&gt;&gt;&gt; communities.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Anyway, the time will come when we will resurrect this effort.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; LieGrue,<br>
&gt;&gt;&gt;&gt;&gt;&gt; strub<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Sunday, 7 September 2014, 14:29, Werner Keil<br>
&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:werner.keil@gmail.com" target="_blank">werner.keil@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Yep, it contains a simple but extendable notion of ProjectStage,<br>
&gt;&gt;&gt;&gt;&gt;&gt; too;-)<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Sun, Sep 7, 2014 at 2:19 PM, John D. Ament &lt;<a href="mailto:john.d.ament@gmail.com" target="_blank">john.d.ament@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Anatole,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I&#39;m wondering if some of your configuration description falls under<br>
&gt;&gt;&gt;&gt;&gt;&gt; what was put together in DeltaSpike?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://deltaspike.apache.org/configuration.html" target="_blank">http://deltaspike.apache.org/configuration.html</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; John<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Fri, Sep 5, 2014 at 6:18 PM, Anatole Tresch &lt;<a href="mailto:atsticks@gmail.com" target="_blank">atsticks@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Staging is not a question of xml or not xml (the &quot;format&quot; of config).<br>
&gt;&gt;&gt;&gt;&gt;&gt; You can do staged config also using xml, or based on a database or json<br>
&gt;&gt;&gt;&gt;&gt;&gt; config service. Staging as well as, more generally speaking, environment<br>
&gt;&gt;&gt;&gt;&gt;&gt; dependent config is more like to select/filter the right config that targets<br>
&gt;&gt;&gt;&gt;&gt;&gt; the current (runtime) environment. This might include stages, but also many<br>
&gt;&gt;&gt;&gt;&gt;&gt; other aspects are feasible and common (server, tier, ear, war, tenant ...).<br>
&gt;&gt;&gt;&gt;&gt;&gt; Since these aspects are per se very complex, it might be advisable to leave<br>
&gt;&gt;&gt;&gt;&gt;&gt; them out of any spec (even a dedicated config JSR would probably not be<br>
&gt;&gt;&gt;&gt;&gt;&gt; capable of covering these within the relatively short EE timeframe)...<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; 2014-09-05 23:30 GMT+02:00 Werner Keil &lt;<a href="mailto:werner.keil@gmail.com" target="_blank">werner.keil@gmail.com</a>&gt;:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Jens/all,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; A sort of &quot;staging&quot; already was possible using CDI earlier, see<br>
&gt;&gt;&gt;&gt;&gt;&gt; examples like this:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://stackoverflow.com/questions/16907185/multiple-cdi-configuration-profiles-devel-beta-qa-production-in-one-war" target="_blank">http://stackoverflow.com/questions/16907185/multiple-cdi-configuration-profiles-devel-beta-qa-production-in-one-war</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; DeltaSpike also includes type-safe staging that goes beyond the<br>
&gt;&gt;&gt;&gt;&gt;&gt; primitive, hard-coded JSF enum.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; If that works without XML, while still allowing flexible configuration<br>
&gt;&gt;&gt;&gt;&gt;&gt; for different stages  or to add and &quot;inject&quot; additional stages maybe even on<br>
&gt;&gt;&gt;&gt;&gt;&gt; a tenant basis (for Cloud scenarios) I could see something like that work<br>
&gt;&gt;&gt;&gt;&gt;&gt; without XML. In the Multiconf project we managed to code everything in<br>
&gt;&gt;&gt;&gt;&gt;&gt; Python, and similar to Puppet or Chef you can configure and deploy multiple<br>
&gt;&gt;&gt;&gt;&gt;&gt; environments with it, Java EE, Spring or Play! several of them are<br>
&gt;&gt;&gt;&gt;&gt;&gt; configured this way and it requires no XML (where the container needs such<br>
&gt;&gt;&gt;&gt;&gt;&gt; files, the framework generates them;-)<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Werner<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Fri, Sep 5, 2014 at 10:21 PM, &lt;<a href="mailto:cdi-dev-request@lists.jboss.org" target="_blank">cdi-dev-request@lists.jboss.org</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Send cdi-dev mailing list submissions to<br>
&gt;&gt;&gt;&gt;&gt;&gt;         <a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt;&gt;&gt;&gt;&gt;&gt;         <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; or, via email, send a message with subject or body &#39;help&#39; to<br>
&gt;&gt;&gt;&gt;&gt;&gt;         <a href="mailto:cdi-dev-request@lists.jboss.org" target="_blank">cdi-dev-request@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; You can reach the person managing the list at<br>
&gt;&gt;&gt;&gt;&gt;&gt;         <a href="mailto:cdi-dev-owner@lists.jboss.org" target="_blank">cdi-dev-owner@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; When replying, please edit your Subject line so it is more specific<br>
&gt;&gt;&gt;&gt;&gt;&gt; than &quot;Re: Contents of cdi-dev digest...&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Today&#39;s Topics:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;    1. Re: Tools : Google Drive vs Asciidoc and Github (Anatole Tresch)<br>
&gt;&gt;&gt;&gt;&gt;&gt;    2. Re: With the end of Java Config... (Anatole Tresch)<br>
&gt;&gt;&gt;&gt;&gt;&gt;    3. [JBoss JIRA] (CDI-456) fix Bean#getBeanClass() definition<br>
&gt;&gt;&gt;&gt;&gt;&gt;       (Anatole Tresch (JIRA))<br>
&gt;&gt;&gt;&gt;&gt;&gt;    4. Re: With the end of Java Config... (Jens Schumann)<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Message: 4<br>
&gt;&gt;&gt;&gt;&gt;&gt; Date: Fri, 5 Sep 2014 20:20:53 +0000<br>
&gt;&gt;&gt;&gt;&gt;&gt; From: Jens Schumann &lt;<a href="mailto:jens.schumann@openknowledge.de" target="_blank">jens.schumann@openknowledge.de</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Subject: Re: [cdi-dev] With the end of Java Config...<br>
&gt;&gt;&gt;&gt;&gt;&gt; To: Anatole Tresch &lt;<a href="mailto:atsticks@gmail.com" target="_blank">atsticks@gmail.com</a>&gt;, Antonio Goncalves<br>
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;<a href="mailto:antonio.goncalves@gmail.com" target="_blank">antonio.goncalves@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Cc: cdi-dev &lt;<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Message-ID: &lt;<a href="mailto:D02FDD99.396B9%25jens.schumann@openknowledge.de" target="_blank">D02FDD99.396B9%jens.schumann@openknowledge.de</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Content-Type: text/plain; charset=&quot;windows-1252&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I can confirm that this approach works very well. We are using a<br>
&gt;&gt;&gt;&gt;&gt;&gt; similar approach a couple of years now, and I love the simplicity that comes<br>
&gt;&gt;&gt;&gt;&gt;&gt; with portable extensions and @Producer methods. See our public version here<br>
&gt;&gt;&gt;&gt;&gt;&gt; [1] (works since early CDI 1.0 days) .<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Instead of a @Inject + Qualifier we just use the qualifier @Property.<br>
&gt;&gt;&gt;&gt;&gt;&gt; We support default values and type conversation for primitives and<br>
&gt;&gt;&gt;&gt;&gt;&gt; everything that has a string based constructor. The property source can be<br>
&gt;&gt;&gt;&gt;&gt;&gt; anything, from property files (default) to databases or xml files. For<br>
&gt;&gt;&gt;&gt;&gt;&gt; examples see tests here [2].<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Nevertheless I am not sure if this should be part of an future CDI<br>
&gt;&gt;&gt;&gt;&gt;&gt; spec. My concerns include the bloat argument, of course. But the main reason<br>
&gt;&gt;&gt;&gt;&gt;&gt; relates to the fact that we have almost everything in the current CDI spec<br>
&gt;&gt;&gt;&gt;&gt;&gt; already.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Right now I am quite happy with an custom portable extension that does<br>
&gt;&gt;&gt;&gt;&gt;&gt; everything for me. At the time we implemented the extension we realised that<br>
&gt;&gt;&gt;&gt;&gt;&gt; the &quot;hard part&quot; was writing an extension that links a qualified &quot;optional<br>
&gt;&gt;&gt;&gt;&gt;&gt; injection point&quot; with an @Producer method while supporting code based<br>
&gt;&gt;&gt;&gt;&gt;&gt; default values. Luckily I had Arne in my team who did that within a few<br>
&gt;&gt;&gt;&gt;&gt;&gt; minutes.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Because of this experience I would propose that we simplify extension<br>
&gt;&gt;&gt;&gt;&gt;&gt; development such that &quot;optional injection points&quot; may be linked to @Produces<br>
&gt;&gt;&gt;&gt;&gt;&gt; values easily. Additionally we have to solve a few more integration issues<br>
&gt;&gt;&gt;&gt;&gt;&gt; (e.g. read-only DB access should be available during CDI startup).<br>
&gt;&gt;&gt;&gt;&gt;&gt; Everything else should be provided by portable extensions (e.g. via<br>
&gt;&gt;&gt;&gt;&gt;&gt; delta-spike) and documentation/howtos at <a href="http://cdi-spec.org" target="_blank">cdi-spec.org</a>.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Jens<br>
&gt;&gt;&gt;&gt;&gt;&gt; [1]<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://github.com/openknowledge/openknowledge-cdi-extensions/tree/master/openknowledge-cdi-common/src/main/java/de/openknowledge/cdi/common/property" target="_blank">https://github.com/openknowledge/openknowledge-cdi-extensions/tree/master/openknowledge-cdi-common/src/main/java/de/openknowledge/cdi/common/property</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; [2]<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://github.com/openknowledge/openknowledge-cdi-extensions/blob/master/openknowledge-cdi-common/src/test/java/de/openknowledge/cdi/common/property" target="_blank">https://github.com/openknowledge/openknowledge-cdi-extensions/blob/master/openknowledge-cdi-common/src/test/java/de/openknowledge/cdi/common/property</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Von: Anatole Tresch &lt;<a href="mailto:atsticks@gmail.com" target="_blank">atsticks@gmail.com</a>&lt;mailto:<a href="mailto:atsticks@gmail.com" target="_blank">atsticks@gmail.com</a>&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Datum: Friday 5 September 2014 21:22<br>
&gt;&gt;&gt;&gt;&gt;&gt; An: Antonio Goncalves<br>
&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:antonio.goncalves@gmail.com" target="_blank">antonio.goncalves@gmail.com</a>&lt;mailto:<a href="mailto:antonio.goncalves@gmail.com" target="_blank">antonio.goncalves@gmail.com</a>&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Cc: CDI-Dev &lt;<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a>&lt;mailto:<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a>&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Betreff: Re: [cdi-dev] With the end of Java Config...<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hi all,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I would not like to add an XML &quot;bloated&quot; mechanism as part of CDI 2.0.<br>
&gt;&gt;&gt;&gt;&gt;&gt; Spontaneously I would propose a more CDI like things like:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;   *   Adding a @Configured annotation (basically a qualifier). This<br>
&gt;&gt;&gt;&gt;&gt;&gt; can be in addition to @Inject and would allow to inject &quot;configured&quot; values.<br>
&gt;&gt;&gt;&gt;&gt;&gt;   *   Since configuration can change we may think of a (CDI)<br>
&gt;&gt;&gt;&gt;&gt;&gt; event/reinject mechanism based on config changes. By default, this is<br>
&gt;&gt;&gt;&gt;&gt;&gt; switched off and we can discuss how it would be activated, e.g. by an<br>
&gt;&gt;&gt;&gt;&gt;&gt; additional flag settable with the @Configured annotation, or an additional<br>
&gt;&gt;&gt;&gt;&gt;&gt; @Observable ConfigChangeEvent (similar to the Griffon framework), or both.<br>
&gt;&gt;&gt;&gt;&gt;&gt;   *   Hereby configured values theoretically behave similar as all<br>
&gt;&gt;&gt;&gt;&gt;&gt; other injection points. They also can be qualified (the aspect of scopes, I<br>
&gt;&gt;&gt;&gt;&gt;&gt; did not yet have time to think about). The only difference is, that they are<br>
&gt;&gt;&gt;&gt;&gt;&gt; satisified using the configuration &quot;system&quot;.<br>
&gt;&gt;&gt;&gt;&gt;&gt;   *   The configuration &quot;source&quot; itself could in the extreme simplest<br>
&gt;&gt;&gt;&gt;&gt;&gt; way be a Provider&lt;Map&lt;String,String&gt;&gt;. The CDI spec should not care about<br>
&gt;&gt;&gt;&gt;&gt;&gt; how this map is provided (XML, DB, overrides, etc). This still can be<br>
&gt;&gt;&gt;&gt;&gt;&gt; standardized later. As long as the ConfigurationSource SPI is defined,<br>
&gt;&gt;&gt;&gt;&gt;&gt; companies still can hook in the logic and level of configuration abstraction<br>
&gt;&gt;&gt;&gt;&gt;&gt; they need.<br>
&gt;&gt;&gt;&gt;&gt;&gt;   *   Of course, since not only Strings can be injected, we need some<br>
&gt;&gt;&gt;&gt;&gt;&gt; conversion or adapter logic as basically outlined in my blog. Also here we<br>
&gt;&gt;&gt;&gt;&gt;&gt; can add a simple SPI and let the details to the RI.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Summarizing a<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;   *   @Configured annotation<br>
&gt;&gt;&gt;&gt;&gt;&gt;   *   some kind of change event<br>
&gt;&gt;&gt;&gt;&gt;&gt;   *   a ConfigurationSource extends Provider&lt;MapString,String&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;   *   a conversion mechanism from String to T.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; we get a full fledged configuration mechanism that leverages CDI.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; That would be my idea basically. WDYT? I will try to work that out in<br>
&gt;&gt;&gt;&gt;&gt;&gt; more details. Basically it should be implementable even with the CDI<br>
&gt;&gt;&gt;&gt;&gt;&gt; mechanism already in place with CDI 1.1.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Best,<br>
&gt;&gt;&gt;&gt;&gt;&gt; Anatole<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; 2014-09-05 16:08 GMT+02:00 Antonio Goncalves<br>
&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:antonio.goncalves@gmail.com" target="_blank">antonio.goncalves@gmail.com</a>&lt;mailto:<a href="mailto:antonio.goncalves@gmail.com" target="_blank">antonio.goncalves@gmail.com</a>&gt;&gt;:<br>
&gt;&gt;&gt;&gt;&gt;&gt; One wise man* once said &quot;EJB was a hype specification, we added too<br>
&gt;&gt;&gt;&gt;&gt;&gt; many things to it, it became bloated. The next hype specifications are<br>
&gt;&gt;&gt;&gt;&gt;&gt; JAX-RS and CDI, careful with them&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Either we get this idea of &quot;parts&quot; right, or CDI will endup being<br>
&gt;&gt;&gt;&gt;&gt;&gt; bloated.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Antonio<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; *David Blevin<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Fri, Sep 5, 2014 at 3:28 PM, Antoine Sabot-Durand<br>
&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:antoine@sabot-durand.net" target="_blank">antoine@sabot-durand.net</a>&lt;mailto:<a href="mailto:antoine@sabot-durand.net" target="_blank">antoine@sabot-durand.net</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hi all,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; You may have followed the rise and fall of the Java Config JSR<br>
&gt;&gt;&gt;&gt;&gt;&gt; (<a href="http://javaeeconfig.blogspot.ch/2014/09/no-java-ee-configuration-for-ee8-dear.html" target="_blank">http://javaeeconfig.blogspot.ch/2014/09/no-java-ee-configuration-for-ee8-dear.html</a>).<br>
&gt;&gt;&gt;&gt;&gt;&gt; Anatole in CC was leading this initiative and I proposed him to join<br>
&gt;&gt;&gt;&gt;&gt;&gt; us and explore if some part of his late-JSR could be done in CDI.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I?m mainly thinking of <a href="https://issues.jboss.org/browse/CDI-123" target="_blank">https://issues.jboss.org/browse/CDI-123</a> or<br>
&gt;&gt;&gt;&gt;&gt;&gt; related solution. If we achieve to have a majority of specs to integrate<br>
&gt;&gt;&gt;&gt;&gt;&gt; with CDI, our configuration solution would therefore become a configuration<br>
&gt;&gt;&gt;&gt;&gt;&gt; system for all spec based on CDI 2.0.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Antoine<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; cdi-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a>&lt;mailto:<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Note that for all code provided on this list, the provider licenses<br>
&gt;&gt;&gt;&gt;&gt;&gt; the code under the Apache License, Version 2<br>
&gt;&gt;&gt;&gt;&gt;&gt; (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt;&gt;&gt;&gt;&gt;&gt; provided on this list, the provider waives all patent and other intellectual<br>
&gt;&gt;&gt;&gt;&gt;&gt; property rights inherent in such information.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt;&gt; Antonio Goncalves<br>
&gt;&gt;&gt;&gt;&gt;&gt; Software architect, Java Champion and Pluralsight author<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Web site&lt;<a href="http://www.antoniogoncalves.org" target="_blank">http://www.antoniogoncalves.org</a>&gt; |<br>
&gt;&gt;&gt;&gt;&gt;&gt; Twitter&lt;<a href="http://twitter.com/agoncal" target="_blank">http://twitter.com/agoncal</a>&gt; |<br>
&gt;&gt;&gt;&gt;&gt;&gt; LinkedIn&lt;<a href="http://www.linkedin.com/in/agoncal" target="_blank">http://www.linkedin.com/in/agoncal</a>&gt; |<br>
&gt;&gt;&gt;&gt;&gt;&gt; Pluralsight&lt;<a href="http://pluralsight.com/training/Authors/Details/antonio-goncalves" target="_blank">http://pluralsight.com/training/Authors/Details/antonio-goncalves</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; | Paris JUG&lt;<a href="http://www.parisjug.org" target="_blank">http://www.parisjug.org</a>&gt; | Devoxx France&lt;<a href="http://www.devoxx.fr" target="_blank">http://www.devoxx.fr</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; cdi-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a>&lt;mailto:<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Note that for all code provided on this list, the provider licenses<br>
&gt;&gt;&gt;&gt;&gt;&gt; the code under the Apache License, Version 2<br>
&gt;&gt;&gt;&gt;&gt;&gt; (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt;&gt;&gt;&gt;&gt;&gt; provided on this list, the provider waives all patent and other intellectual<br>
&gt;&gt;&gt;&gt;&gt;&gt; property rights inherent in such information.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt;&gt; Anatole Tresch<br>
&gt;&gt;&gt;&gt;&gt;&gt; Java Lead Engineer, JSR Spec Lead<br>
&gt;&gt;&gt;&gt;&gt;&gt; Gl?rnischweg 10<br>
&gt;&gt;&gt;&gt;&gt;&gt; CH - 8620 Wetzikon<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Switzerland, Europe Zurich, GMT+1<br>
&gt;&gt;&gt;&gt;&gt;&gt; Twitter:  @atsticks<br>
&gt;&gt;&gt;&gt;&gt;&gt; Blogs: <a href="http://javaremarkables.blogspot.ch/" target="_blank">http://javaremarkables.blogspot.ch/</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; Google: atsticks<br>
&gt;&gt;&gt;&gt;&gt;&gt; Mobile  <a href="tel:%2B41-76%20344%2062%2079" value="+41763446279" target="_blank">+41-76 344 62 79</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; -------------- next part --------------<br>
&gt;&gt;&gt;&gt;&gt;&gt; An HTML attachment was scrubbed...<br>
&gt;&gt;&gt;&gt;&gt;&gt; URL:<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://lists.jboss.org/pipermail/cdi-dev/attachments/20140905/3d951250/attachment.html" target="_blank">http://lists.jboss.org/pipermail/cdi-dev/attachments/20140905/3d951250/attachment.html</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ------------------------------<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; cdi-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Note that for all code provided on this list, the provider licenses<br>
&gt;&gt;&gt;&gt;&gt;&gt; the code under the Apache License, Version 2<br>
&gt;&gt;&gt;&gt;&gt;&gt; (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>).  For all other ideas<br>
&gt;&gt;&gt;&gt;&gt;&gt; provided on this list, the provider waives all patent and other intellectual<br>
&gt;&gt;&gt;&gt;&gt;&gt; property rights inherent in such information.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; End of cdi-dev Digest, Vol 46, Issue 20<br>
&gt;&gt;&gt;&gt;&gt;&gt; ***************************************<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; cdi-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Note that for all code provided on this list, the provider licenses<br>
&gt;&gt;&gt;&gt;&gt;&gt; the code under the Apache License, Version 2<br>
&gt;&gt;&gt;&gt;&gt;&gt; (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt;&gt;&gt;&gt;&gt;&gt; provided on this list, the provider waives all patent and other intellectual<br>
&gt;&gt;&gt;&gt;&gt;&gt; property rights inherent in such information.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt;&gt; Anatole Tresch<br>
&gt;&gt;&gt;&gt;&gt;&gt; Java Lead Engineer, JSR Spec Lead<br>
&gt;&gt;&gt;&gt;&gt;&gt; Glärnischweg 10<br>
&gt;&gt;&gt;&gt;&gt;&gt; CH - 8620 Wetzikon<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Switzerland, Europe Zurich, GMT+1<br>
&gt;&gt;&gt;&gt;&gt;&gt; Twitter:  @atsticks<br>
&gt;&gt;&gt;&gt;&gt;&gt; Blogs: <a href="http://javaremarkables.blogspot.ch/" target="_blank">http://javaremarkables.blogspot.ch/</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; Google: atsticks<br>
&gt;&gt;&gt;&gt;&gt;&gt; Mobile  <a href="tel:%2B41-76%20344%2062%2079" value="+41763446279" target="_blank">+41-76 344 62 79</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; cdi-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Note that for all code provided on this list, the provider licenses<br>
&gt;&gt;&gt;&gt;&gt;&gt; the code under the Apache License, Version 2<br>
&gt;&gt;&gt;&gt;&gt;&gt; (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt;&gt;&gt;&gt;&gt;&gt; provided on this list, the provider waives all patent and other intellectual<br>
&gt;&gt;&gt;&gt;&gt;&gt; property rights inherent in such information.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; cdi-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Note that for all code provided on this list, the provider licenses<br>
&gt;&gt;&gt;&gt;&gt;&gt; the code under the Apache License, Version 2<br>
&gt;&gt;&gt;&gt;&gt;&gt; (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt;&gt;&gt;&gt;&gt;&gt; provided on this list, the provider waives all patent and other intellectual<br>
&gt;&gt;&gt;&gt;&gt;&gt; property rights inherent in such information.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; cdi-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Note that for all code provided on this list, the provider licenses<br>
&gt;&gt;&gt;&gt;&gt;&gt; the code under the Apache License, Version 2<br>
&gt;&gt;&gt;&gt;&gt;&gt; (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt;&gt;&gt;&gt;&gt;&gt; provided on this list, the provider waives all patent and other intellectual<br>
&gt;&gt;&gt;&gt;&gt;&gt; property rights inherent in such information.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt; Anatole Tresch<br>
&gt;&gt;&gt;&gt;&gt; Java Lead Engineer, JSR Spec Lead<br>
&gt;&gt;&gt;&gt;&gt; Glärnischweg 10<br>
&gt;&gt;&gt;&gt;&gt; CH - 8620 Wetzikon<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Switzerland, Europe Zurich, GMT+1<br>
&gt;&gt;&gt;&gt;&gt; Twitter:  @atsticks<br>
&gt;&gt;&gt;&gt;&gt; Blogs: <a href="http://javaremarkables.blogspot.ch/" target="_blank">http://javaremarkables.blogspot.ch/</a><br>
&gt;&gt;&gt;&gt;&gt; Google: atsticks<br>
&gt;&gt;&gt;&gt;&gt; Mobile  <a href="tel:%2B41-76%20344%2062%2079" value="+41763446279" target="_blank">+41-76 344 62 79</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Anatole Tresch<br>
&gt;&gt; Java Lead Engineer, JSR Spec Lead<br>
&gt;&gt; Glärnischweg 10<br>
&gt;&gt; CH - 8620 Wetzikon<br>
&gt;&gt;<br>
&gt;&gt; Switzerland, Europe Zurich, GMT+1<br>
&gt;&gt; Twitter:  @atsticks<br>
&gt;&gt; Blogs: <a href="http://javaremarkables.blogspot.ch/" target="_blank">http://javaremarkables.blogspot.ch/</a><br>
&gt;&gt; Google: atsticks<br>
&gt;&gt; Mobile  <a href="tel:%2B41-76%20344%2062%2079" value="+41763446279" target="_blank">+41-76 344 62 79</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; cdi-dev mailing list<br>
&gt; <a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" 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<br>
&gt; under the Apache License, Version 2<br>
&gt; (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt; provided on this list, the provider waives all patent and other intellectual<br>
&gt; property rights inherent in such information.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="font-family:arial;font-size:small"><b>Anatole Tresch</b></span><div style="font-family:arial;font-size:small">Java Lead Engineer, JSR Spec Lead<br>Glärnischweg 10<br>CH - 8620 Wetzikon</div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small"><i>Switzerland, Europe Zurich, GMT+1</i></div><div style="font-family:arial;font-size:small"><i>Twitter:  @atsticks</i></div><div><i style="font-family:arial;font-size:small">Blogs: </i><font face="arial"><i><a href="http://javaremarkables.blogspot.ch/" target="_blank">http://javaremarkables.blogspot.ch/</a></i></font></div><div style="font-family:arial;font-size:small"><i>Google: atsticks<br>Mobile  <a href="tel:%2B41-76%20344%2062%2079" value="+41763446279" target="_blank">+41-76 344 62 79</a></i></div></div>
</div>
</blockquote></div></div></div>
<br>_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" 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" 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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Antonio Goncalves <br>Software architect, Java Champion and Pluralsight author<br><br><a href="http://www.antoniogoncalves.org" target="_blank">Web site</a> | <a href="http://twitter.com/agoncal" target="_blank">Twitter</a> | <a href="http://www.linkedin.com/in/agoncal" target="_blank">LinkedIn</a> | <a href="http://pluralsight.com/training/Authors/Details/antonio-goncalves" target="_blank">Pluralsight</a> | <a href="http://www.parisjug.org" target="_blank">Paris JUG</a> | <a href="http://www.devoxx.fr" target="_blank">Devoxx France</a></div>
</div>
</blockquote></div>