I have a class A that holds a class B like this: class A { private final B b; @Inject A(B b) { this.b = b;
I have this use case that is very similar to the robot-legs example of Guice, except I don\'t know how many \"legs\" I have. Therefore I can\'t use the annotations needed for the robot-legs example.
In the Guice FAQ, they talk about differentiating multiple instances with annotations (kind of). My question: Can I bind a Impl to an Interface without an annotation, and bind another Impl to that sa
Most of the examples of the Cake Pattern I\'ve come across appear to consider dependencies as singleton type services; where there is only one instance of each type in the final assembly of components
Do I need to create a new module with the Interface bound to a different implementation? Chef newChef = Guice.createInjector(Stage.DEVELOPMENT, new Module() {
I\'ve done a bit of web programming (using PHP and MySQL), but nothing too开发者_开发问答 large in scale. I\'ve been thinking about how someone would create a social networking type of site and I\'ve
We\'ve made a big investment in Microsoft BizTalk Server 2009 and it works like a dream for all our asynchronous work. We want to do much more synchronous work with it, though, and that\'s why we\'re