Dependency Injection for Java Developers with Dagger & Guice
Learn what dependency injection is and how to use Google Guice and Dagger Injection for dependency injection.
Development,Programming Languages,Dependency Injection
Lectures -27
Duration -1.5 hours
30-days Money-Back Guarantee
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
Course Description
Dependency Injection can seem to be an intimidating topic at first but is quite simple when you finally get to understand it. Dependency Injection is a technique in which an object receives other objects that it depends on (Wikipedia).
In this course, we will learn about Dependency Injection without using a library. You might just find out that you have already been using Dependency Injection in your code ?.
We will then go on to use Dagger and Guice Library for dependency injection.
Dagger is a fully static, compile-time dependency injection framework for Java, Kotlin, and Android. It is an adaptation of an earlier version created by Square and now maintained by Google. (Official Docs)
Guice (pronounced 'juice') is a lightweight dependency injection framework, it is developed and managed by Google.
Some topics you will learn in the course are field injection, method injection, modules, Dagger annotations, bindings, scopes, and custom scopes.
Dependency injection is a technique in which an object receives other objects that it depends on. These other objects are called dependencies. In the typical "using" relationship the receiving object is called a client and the passed (that is, "injected") object is called a service. The code that passes the service to the client can be many kinds of things and is called the injector. Instead of the client specifying which service it will use, the injector tells the client what service to use. The "injection" refers to the passing of a dependency (a service) into the object (a client) that would use it.
Goals
- The Concept Of Dependency Injection
- How To Perform Dependency Injection Without A Library
- Using Dagger For Dependency Injection
Prerequisites
- A Good Internet Connection
- Basic Experience With Java Programming Language
![Dependency Injection for Java Developers with Dagger & Guice Dependency Injection for Java Developers with Dagger & Guice](https://d3mxt5v3yxgcsr.cloudfront.net/courses/5241/course_5241_image.jpg)
Curriculum
Check out the detailed breakdown of what’s inside the course
Introduction
2 Lectures
-
What Is Dependency Injection 05:35 05:35
-
Installing Dagger 02:19 02:19
Getting Started With Dagger
4 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Diving Deeper
5 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Scopes And Components
6 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Juicy Guice
4 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
More Guice
4 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Last Guice
2 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Instructor Details
![Lemuel Ogbunude](https://www.tutorialspoint.com/assets/profiles/251968/profile/200_172729-1600775103.jpg)
Lemuel Ogbunude
Lemuel Ogbunude is a software engineer who specialises on teaching JVM(Java Virtual Machine) based languages.
He loves the art of teaching and simplifying complex topics in ways that students understand and remember while also making the whole process fun.
He believes courses can be both fun and educative at the same time.
He is a Java enthusiast and the founder of Lemubit Academy.
Course Certificate
Use your certificate to make a career change or to advance in your current career.
![sample Tutorialspoint certificate](/market/public/assets/newDesign/img/primePacks/V-certificate.png)
Our students work
with the Best
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfc bank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfcbank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now![Annual Membership Annual Membership](/market/public/assets/newDesign/img/membership-large-small.jpg)
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now![Online Certifications Online Certifications](/market/public/assets/newDesign/img/traning-for-a-team.png)