Packaging the application for local deployment

Now let's build our application and deploy it locally. This can be done in two ways, either using Docker or by building and executing a WAR file.