There are a number of ways to run the Web Server. They are given in order of simplest to most advanced.
1.1 Instant Servlets
1.1.1 Customization API
1.2 Simple Single Servlet Servers
1.3 Command-line Tools
1.4 Functional