All modules

Module 14 · Harden

API Integration & Resilience

Call other systems deliberately: modern HTTP clients with explicit timeouts, bounded retries and circuit breakers, and verified inbound webhooks.

Intermediate3 chapters115 minutesPrerequisite: Spring MVC and failure-handling basics
Start module

Chapter plan

What you will complete

Module outcome

Integrate a third-party API whose failures do not cascade into your own outage.

Mental model

Every external call is a dependency with its own failure modes; the client code you write is the blast-radius contract.

Module checkpoint

Payment integration slice

Charge through a fake PSP, survive its latency, and accept its webhooks safely.

  • Timeout ladder under an end-to-end budget
  • Breaker transitions charted under fault injection
  • Forged webhook rejected by signature check

Final module assessment

Ready to prove mastery?

Complete all 50 questions after finishing the module lessons and checkpoint.

Take module quiz