public marks

PUBLIC MARKS from night.kame with tag @inject

11 May 2009 12:00

Stuck in the middle : Weblog

5. Provider<Foo>: you say that the injector must throw an exception at run time, but Guice actually fails at initialization time (or build time if you validate your modules there). Nothing in the spec prevents you from injecting additional types like ServiceReference and Iterable; Guice actually supports injecting collections of bindings via multibindings as an optional feature.

Quand Bob Lee défend @inject, il ne faut pas 2 minutes pour qu'il base sa réponse sur Guice 2 (pas Guice 1 évidemment, qui deviendra tabou comme l'ont été Maven 1 et Axis 1). C'est troublant de devoir défendre une spécification en se basant sur une de ses implémentations.

10 May 2009 21:00

Why @Inject is a bad idea

Recently the JSR for standardizing injection annotations was announced. I think the proposal is going in the wrong direction, and would like to outline why in this post.

night.kame's TAGS related to tag @inject

dtc +   JSR-299 +   Qi4J +   réthorique +   SpringSource +