I may be wrong but the explanation of when dependency injection occur should include the after initialization steps as well like:
Dependency injection always occurs when the Web Bean instance is requested from the Web Bean manager.
First, if a instance of the Web Bean does not exists the Web Bean manager calls the Web Bean constructor, to obtain an instance of the Web Bean.
Next, the Web Bean manager initializes the values of all injected fields of the Web Bean.
Next, the Web Bean manager calls all initializer methods of Web
Bean. (is this called every time th instance is requested?)
Finally, the @PostConstruct method of the Web Bean, if any, is called. (is this called every time th instance is requested?)
These are now published on docs.jboss.org
See http://seamframework.org/WebBeans/WebBeansOverview - I've also moved the RI stuff out to another page so that you can do what you want with the homepage Gavin :-)
On 29 Oct 2008, at 16:07, Gavin King wrote:
<Web Beans 20081029.pdf><Introduction to Web Beans 20081029.pdf>_______________________________________________Here's the article i've been writing about web beans for developers.
It's almost finished, but I would appreciate a proofread/suggestions.
This has been done in docbook, so I'm thinking it can evolve into the
documentation for the RI (with addition of some new RI-specific
sections).
I've also attached the latest spec, which has some various fixes.
--
Gavin King
gavin.king@gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
webbeans-dev mailing list
webbeans-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev
_______________________________________________
webbeans-dev mailing list
webbeans-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev