<div dir="ltr">Hi Antoine,<div><br></div><div>meantime I&#39;ve started to contribute CDI samples to javaee7-samples on github [1] as Arun Gupta encouraged me [2]</div><div><br></div><div>I&#39;ve got a plenty of usefull still simple examples of several CDI features based on junit/arquillian tests so that I may contribute them immediatelly to javaee7-samples with only some simple modifications</div>
<div><br></div><div>If somebody wants to add a sample of a missing CDI feature here [1] please let me know</div><div><br></div><div>Sincerely,</div><div>Radim Hanus<br><div class="gmail_extra"><br>[1] <a href="https://github.com/javaee-samples/javaee7-samples">https://github.com/javaee-samples/javaee7-samples</a></div>
<div class="gmail_extra">[2] <a href="http://blog.arungupta.me/2013/11/javaee-samples-github-organization-javaee7-samples-and-hands-on-lab-already-moved/">http://blog.arungupta.me/2013/11/javaee-samples-github-organization-javaee7-samples-and-hands-on-lab-already-moved/</a></div>
<div class="gmail_extra"><br><div class="gmail_quote">2013/11/18 Antoine Sabot-Durand <span dir="ltr">&lt;<a href="mailto:antoine@sabot-durand.net" target="_blank">antoine@sabot-durand.net</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">
<div style="word-wrap:break-word"><div>Hi Radim,</div><div><br></div><div>Allow me to post my answer on the list so every body will benefit of your contribution.</div><div><div class="im"><br><blockquote type="cite"><div dir="ltr">
<div>first of all I would like to let you know that I very appreciate your effort to promote my favourite technology :)</div></div></blockquote><div><br></div></div><div>Thanks. I hope we’ll achieve to pursue this promotion effort. It’s always hard to mix highly conceptual technical activity like a spec and promotion / communication at the same time. My feeling is CDI is very overlooked and deserve a bigger community. Community that could help us making it better. Note that I’m not very objective on that topic ;).</div>
<div class="im"><br><blockquote type="cite"><div dir="ltr"><div>&gt;&gt; <span style="font-family:arial,sans-serif;font-size:13px">I think it would be useful to provide an official CDI 1.1 tutorial on cdi-spec site</span></div>

<div>I agree with you a cdi tutorial with a plenty of quickstarts is desperately missing</div><div>something like jboss way quickstarts would be a great addition to <a href="http://cdi-spec.org/" target="_blank">cdi-spec.org</a> site</div>
</div></blockquote><div><br></div></div><div>Yes JDF quick starts are nice (and also deal with Deltaspike) but need documentation to introduced them. [1]</div><div>Apache team have nice example for CDI as well on TomEE examples [2]</div>
<div><br></div><div>I also remember seeing interesting content on IBM developerworks. I can find them right now.</div><div class="im"><br><blockquote type="cite"><div dir="ltr"><div>&gt;&gt; <span style="font-family:arial,sans-serif;font-size:13px">I have the feeling such content is already nearly written by people in this ML</span></div>
<div>recently I tried to find some details on how to properly use @ThreadScoped in java se environment and the only place where I found a working sample was this ML (<a href="http://lists.jboss.org/pipermail/weld-dev/2009-December/002016.html" target="_blank">http://lists.jboss.org/pipermail/weld-dev/2009-December/002016.html</a>)</div>
</div></blockquote><div><br></div></div><div>You may know threadscope is not in the spec, Its specific to Weld, I don’t know if OWB has something like that. Anyway, writing a tutorial on building a thread scope for all imll, could be interesting. Great to show how to add a new scope and promote CDI for SE at the same time.</div>
<br><blockquote type="cite"><div dir="ltr"><div class="im">
<div><br></div><div>&gt;&gt; <span style="font-family:arial,sans-serif;font-size:13px">so if you have written introduction tutorial to CDI and agree to be reused on official site it would be great and time saving for me</span></div>

<div>I have already written some CDI samples for my colleagues including the one mentioned above</div></div><div>I would be pleased to supply these samples…</div></div></blockquote><div><br></div><div>Great. We surely could benefit from them</div>
<br><blockquote type="cite"><div dir="ltr"><div><br></div>Sincerely,<br>Radim Hanus<div><br></div></div></blockquote><div><br></div><div>Thanks again for your commitment</div><div><br></div><div>Antoine</div><div><br></div>
<div>[1] <a href="http://www.jboss.org/jdf/quickstarts/get-started/" target="_blank">http://www.jboss.org/jdf/quickstarts/get-started/</a></div><div>[2] <a href="http://tomee.apache.org/examples-trunk/index.html" target="_blank">http://tomee.apache.org/examples-trunk/index.html</a></div>
<div class="im"><div><br></div><br><blockquote type="cite"><div dir="ltr"><div><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/18 Antoine Sabot-Durand <span dir="ltr">&lt;<a href="mailto:antoine@sabot-durand.net" target="_blank">antoine@sabot-durand.net</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">Hi all,<br>
<br>
First excuse my french in previous meeting invites. Obviously Google can speak english to you and keep sending french invitation ;).<br>
<br>
I launch this thread in reaction to the  FUD or inaccuracies about CDI one can find on the web like this post [1]).<br>
<br>
As the spec is quite long to read and very theoretic, I think it would be useful to provide an official CDI 1.1 tutorial on cdi-spec site. It could allows us to be sure that people have an official overview of the spec and could be enhanced with use cases we would encounter on the web (stack overflow or other).<br>


I have the feeling such content is already nearly written by people in this ML, so if you have written introduction tutorial to CDI and agree to be reused on official site it would be great and time saving for me.<br>
<br>
In the same idea of community federation, I think it could be useful to launch a forum (Google group or other) to allow people to ask informal question about CDI and its eco system. People starting using CDI or casual users won’t use this mailing list and all of them think to use site like Stack Overflow. It would also a good mean to enhance our FAQ.<br>


<br>
What do you think ?<br>
<br>
<br>
Antoine<br>
<br>
<br>
<br>
[1] <a href="http://blog.frankel.ch/my-case-against-autowiring" target="_blank">http://blog.frankel.ch/my-case-against-autowiring</a><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>
</blockquote></div><br></div>
</blockquote></div></div><br></div></blockquote></div><br></div></div></div>