public marks

PUBLIC MARKS with tag @inject

11 May 2009 12:00

Stuck in the middle : Weblog

by night.kame

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

by night.kame

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.

PUBLIC TAGS related to tag @inject

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

Active users

night.kame
last mark : 11/05/2009 13:00