In the simplest case, an application consists of only one module. We'll start with a single module and divide it into two modules later.
To bring our application's controller to life we need to
- provide a configuration file per module to define our actions,
- implement our action classes,
- define a servlet and servlet mapping per module in the web application deployment descriptor.