-
1. Re: Documentation with example about Weld on the Web?
nickarls Feb 28, 2010 5:07 PM (in response to aleseam)There really isn't that much material around yet. The place to start is the Weld Reference Guide and the JSR-299 specification (you might also want to see if OpenWebBeans or CanDI have any similar documentation). The spec is (surprise, surprise) the ultimate authority but if you are unfamiliar with the basic concepts it might be a bit like trying to drink from a fire hose (although it is as well-written as specs come). If you have a specific question, ask here on the forum...
-
3. Re: Documentation with example about Weld on the Web?
chasetec Mar 1, 2010 7:44 AM (in response to aleseam)I've been trying to put together a slide deck. Something that people can modify as needed if they want to give presentations about CDI. I've got a bit about regular old SE 5 annotations and JSR 316 in there too. I figure some people new to CDI may never have created an annotation before.
Any feedback would be welcome. I am still new to CDI myself so if I've made any mistakes please point them out.
-
4. Re: Documentation with example about Weld on the Web?
nickarls Mar 1, 2010 8:07 AM (in response to aleseam)Very nice! I didn't read it that thoroughly but some quick points
- An empty beans.xml should be enough for CDI-enablement
- The container also catches when no beans can be found for injection at boot time (in addition to ambiguous resolves)
- typo
A CDI managed bean is a POJO with either
- typo
container can't figure out what you want
- clarification
A managed bean is annotated with one of the annotations
. All classes in a BDA are managed beans (dependents if no other) - clarification
@ConversationScoped – Used by JSF applications
. Can also be used outside of JSF
-
5. Re: Documentation with example about Weld on the Web?
aleseam Mar 1, 2010 9:55 AM (in response to aleseam)Nice documentations. :)
For advanced concepts as interceptors and decorators i hope to see more documentation (with some flow chart), and full example.
In general i hope to see even more full examples (even on Tomcat). -
6. Re: Documentation with example about Weld on the Web?
chasetec Mar 1, 2010 8:04 PM (in response to aleseam)Thanks for the feedback! I've uploaded the updated docs.