Dependency Injection in Java 9

In the previous chapter, we got acquainted with the Dependency Injection Principle, IOC with different scenarios, and different types of Dependency Injection by writing code.

In this chapter, we will learn about the new features offered in Java 9. Specifically, we will learn about modularity in Java 9, modularity framework, types of modules offered in Java 9, and we will see Dependency Injection using modules. This chapter will mainly cover the following topics:

  • Java 9 introduction
  • Modular Framework in Java 9
  • Dependency Injection using Java 9 Modular Framework

Get Java 9 Dependency Injection now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.