Plays from YouTube. Watch on YouTube
How does a Java program communicate with services and save data between runs?
Meet Java APIs, JSON and File Persistence: an example-driven look at how Java programs behave and how engineers design them.
We start with http is a request-response exchange and get retrieves a representation, using original examples to establish the key ideas.
From there, we build out rate limits and retries, parse defensively, and the decisions they reveal.
Then we examine files persist data beyond a process alongside serialization needs a schema, including assumptions and common implementation mistakes.
Finally, we connect error categories differ to boundary code deserves tests.
The big idea: Use fixtures for deterministic behavior.
Programming and software design explained visually, one concept at a time.