Inside Guice 2: exercising elements
Part 3 in a Series. Background: modelling configuration One of the most distinct features of Guice is our fluent embedded domain specific language (DSL). By chaining method calls, Guice supports a wide combination of binding sources, targets and scopes: bind(PaymentService.class) .annotatedWith(Names.named("creditCard")) .to(VisaPaymentService.…