Bootstrapping the User Interface
Now that we have a model we’re happy with, we’re going to wrap it in a simple user interface that allows users to specify how much cash they want to withdraw. Even though it might not be a typical choice for a real ATM, we’re going to use a web form. We’ll use the Jetty[36] web server to serve our user interface, and we’ll use Selenium WebDriver[37] to automate it. We won’t go into much detail about how Selenium works here, but you’ll learn much more in Chapter 12, Working with Web Applications.
We’ll start by bringing the necessary dependencies into our project to get the web server up and running.
Creating a Website with Jetty
We’re going to use Jetty to build a very simple UI for our ATM. We’ll start ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access