Refactoring into independent and reusable verticles
Tip | The corresponding source code is in the step-2 folder of the guide repository. |
The first iteration got us a working wiki application. Still, its implementation suffers from the following issues:
HTTP requests processing and database access code are interleaved within the same methods, and
lots of configuration data (e.g., port numbers, JDBC driver, etc) are hard-coded strings in the code.