Git Product home page Git Product logo

google-guice-tutorials's Introduction

google-guice-tutorials

4 part tutorial series on Google Guice

"Injecting Single Interface Implementation with Google Guice" Covers dependency injecting a single implementation via GoogleGuice. Covers explicit binding in guice module, @Inject, @ImplemtedBy and using both explicit binding and @ImplementedBy.
You can watch the Youtube Video Tutorial to follow along here https://youtu.be/wNclLOTxQjk

Part 1 of Providers "How to use a Provider with Google Guice" Covers dependency injecting Google Guice Providers. Covers implicit and explicit binding of Providers as well as annotations: @Provides, @ProvidededBy.

Examples on programmatically injecting an implementation via a Guice Provider. You can watch the Youtube Video Tutorial to follow along here https://youtu.be/3uAR5sFgh2A

Part 2 of Providers "How to use a Provider with Google Guice" Covers injecting dependencies into a Guice Provider, Multibindings/Mapbinder and addresses the need to inject run-time date into Providers/Custom Factories.

Examples on programmatically returning a Random implementation via a Guice Provider as well as one decided by runtime data entered from the command line.

Best practice advice on how to bootstrap you application from the main method. You can watch the Youtube Video Tutorial to follow along here https://youtu.be/BtGf42WB9wM

"How to use Assisted Inject with Google Guice" Covers How to use Assisted Inject in Google Guice via a use case example in an Air Traffic Control application. Explains the solution space it addresses and advice on when to use Assisted Inject.

Outlines the other options that are available before resorting to Assisted Inject as well as Guice's
annotation @Assisted and the FactoryModuleBuilder with must be configured in your Guice Module You can watch the Youtube Video Tutorial to follow along here https://youtu.be/t6-ctCV8zNM

google-guice-tutorials's People

Contributors

mvpjava avatar

Watchers

James Cloos avatar Rakesh Roshan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.