This content has been marked as final.
Show 4 replies
-
1. Re: Type-safe DI in 299
gavin.king Nov 10, 2009 7:59 PM (in response to asookazian)
So I still don't understand what type-safe DI means exactlyIt means not referring to beans by string-based names that can't be validated by the compiler.
-
2. Re: Type-safe DI in 299
nickarls Nov 10, 2009 8:12 PM (in response to asookazian)I think the nice thing about 299/Weld is that you don't need to use that many annotations when you get started. I'm sure in the beginning you will get by nicely by sticking @*Scoped, @Named and @Inject on/in classes. After a while you will get a
I'm sure there is a (better) way of...
, then you go read the RefDoc and most probably will find it... -
3. Re: Type-safe DI in 299
asookazian Nov 10, 2009 8:18 PM (in response to asookazian)
Gavin King wrote on Nov 10, 2009 19:59:So I still don't understand what type-safe DI means exactly
It means not referring to beans by string-based names that can't be validated by the compiler.Ok, thx. Good idea. Is anybody compiling a FAQ on Weld/299?
-
4. Re: Type-safe DI in 299
nickarls Nov 10, 2009 8:33 PM (in response to asookazian)The reference docs (last updated by Dan Allen) is a good place to start, it will be in the distro or you could take it down and build it yourself from http://anonsvn.jboss.org/repos/weld/doc/trunk/reference/