The Persistent Bug

Java Case Study, Episode 10

By Robert C. Martin & Micah D. Martin

83 minJul 2015

So this one is interesting. In the process of fleshing out the CodeCast details page, we realize that we need to parse incoming URLs and build a router that selects the appropriate controllers. True to form, we simply write this ourselves rather than depending upon a framework.

Along the way we re-encounter the strange race condition that sometimes causes our tests to hang. We work around this problem, but grow ever more concerned about it.

By the end of the episode we have the architectural framework for many of the elements of a web serving system. And we still aren't using a framework.