Why Even Care About Assembly?

Learn the importance of assembling your application.

Introduction

Now that we have implemented some use cases, web adapters, and persistence adapters, we need to assemble them into a working application. As discussed in the chapter “Organizing Code”, we rely on a dependency injection mechanism to instantiate our classes and wire them together at startup time. In this chapter, we’ll discuss some approaches of how we can do this with plain Java and the Spring and Spring Boot frameworks.

Get hands-on with 1200+ tech skills courses.