Hi Antoine,
meantime I've started to contribute CDI samples to javaee7-samples on
github [1] as Arun Gupta encouraged me [2]
I'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
If somebody wants to add a sample of a missing CDI feature here [1] please
let me know
Sincerely,
Radim Hanus
[1]
Hi Radim,
Allow me to post my answer on the list so every body will benefit of your
contribution.
first of all I would like to let you know that I very appreciate your
effort to promote my favourite technology :)
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 ;).
>> I think it would be useful to provide an official CDI 1.1 tutorial on
cdi-spec site
I agree with you a cdi tutorial with a plenty of quickstarts
is desperately missing
something like jboss way quickstarts would be a great addition to
cdi-spec.org site
Yes JDF quick starts are nice (and also deal with Deltaspike) but need
documentation to introduced them. [1]
Apache team have nice example for CDI as well on TomEE examples [2]
I also remember seeing interesting content on IBM developerworks. I can
find them right now.
>> I have the feeling such content is already nearly written by people in
this ML
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 (
http://lists.jboss.org/pipermail/weld-dev/2009-December/002016.html)
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.
>> 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
I have already written some CDI samples for my colleagues including the
one mentioned above
I would be pleased to supply these samples…
Great. We surely could benefit from them
Sincerely,
Radim Hanus
Thanks again for your commitment
Antoine
[1]
http://www.jboss.org/jdf/quickstarts/get-started/
[2]
http://tomee.apache.org/examples-trunk/index.html
2013/11/18 Antoine Sabot-Durand <antoine(a)sabot-durand.net>
> Hi all,
>
> First excuse my french in previous meeting invites. Obviously Google can
> speak english to you and keep sending french invitation ;).
>
> I launch this thread in reaction to the FUD or inaccuracies about CDI
> one can find on the web like this post [1]).
>
> 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).
> 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.
>
> 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.
>
> What do you think ?
>
>
> Antoine
>
>
>
> [1]
http://blog.frankel.ch/my-case-against-autowiring
> _______________________________________________
> cdi-dev mailing list
> cdi-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/cdi-dev
>