Isthere an equivalent in CDI(WELD) to Guice modules and Inject ?

Posted by mP on Stack Overflow See other posts from Stack Overflow or by mP
Published on 2010-06-15T02:44:30Z Indexed on 2010/06/15 2:52 UTC
Read the original article Hit count: 249

Filed under:
|
|

I like the way Guice makes it fairly straight forward to manually create your own modules each with their own bindings done in code. CDI on the other hand seems to rely more on magic rather than programmatic access to sest bindings. Am i wrong or how can one achieve the same effect with WELD.

Any code sample would be appreciated...

© Stack Overflow or respective owner

Related posts about guice

Related posts about cdi