Say, I have a package, where I have multiple Proxy classes to connect it to different services? Which is a better design:

  1. Having one guice module class for each client implementation instantiation.
  2. Having one guice module class containing all client implementations instantiation with different @Provides methods.
  • Sharing your research helps everyone. Tell us what you've tried and why it didn't meet your needs. This demonstrates that you've taken the time to try to help yourself, it saves us from reiterating obvious answers, and most of all it helps you get a more specific and relevant answer. Also see How to Ask – gnat Jan 14 at 21:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.