Skip to Content
Full Stack Development with Spring Boot and React - Third Edition
book

Full Stack Development with Spring Boot and React - Third Edition

by Juha Hinkula
April 2022
Intermediate to advanced
378 pages
6h 21m
English
Packt Publishing
Content preview from Full Stack Development with Spring Boot and React - Third Edition

Chapter 2: Understanding Dependency Injection

In this chapter, we will learn what Dependency Injection (DI) is and how we can use it with the Spring Boot framework. The Spring Boot framework provides DI; therefore, it is good to understand the basics. DI reduces component dependencies and makes your code easier to test and maintain.

In this chapter, we will look into the following:

  • Introducing DI
  • Using DI with Spring Boot

Technical requirements

Java SDK version 8 or higher is necessary to use Eclipse IDE. In this book, we are using Windows, but all the tools are available for Linux and macOS as well.

All of the code for this chapter can be found at the following GitHub link: https://github.com/PacktPublishing/Full-Stack-Development-with-Spring-Boot-and-React/tree/main/Chapter02 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Full Stack Development with Spring Boot 3 and React - Fourth Edition

Full Stack Development with Spring Boot 3 and React - Fourth Edition

Juha Hinkula

Publisher Resources

ISBN: 9781801816786Supplemental Content