Search⌘ K
AI Features

Introduction: Driving the Web Layer

Explore how to develop and test web endpoints in a Java microservice. Understand HTTP integration testing, converting HTTP requests to domain commands, and assembling web and database adapters with dependency injection. Gain practical skills to configure endpoints that serve external clients and optimize microservice interactions.

Building and testing web endpoint

In this chapter, we complete our web application by adding a web endpoint. We’ll learn how to write HTTP integration tests using the built-in Java HTTP client. ...