11 May 2009 12:00
Stuck in the middle : Weblog
by night.kame5. 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
by night.kameRecently 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.