O'Reilly logo

Mastering Software Testing with JUnit 5 by Boni García

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Design

Since our application is quite simple, we decide to stop the analysis phase here, without modeling our requirements as use cases. Instead, we move on making a high-level architectural design of the web application using the classical three-tier model: presentation, application (or business) logic, and data tier. Regarding the application logic, as the following picture depicts, two components are needed. First one, called CatService is charge of all the rating actions as described in the requirements list. Second one, called CookiesServices is needed to handle HTTP Cookies, needed to implement FR5:

High-level architectural design for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required