In this chapter, we are going to look at how to configure Undertow, the web server shipped with WildFly 8. This will complete our overview of the standalone server configuration.
We will then look at the structure of a typical enterprise application by creating, packaging, and deploying a sample Java EE 7 project. It will include JavaServer Faces components, Enterprise JavaBeans, and CDI, and will also use the Java Persistence API (JPA). This will give you a feel of working with a complete Java EE 7 application.
By the end of this chapter, you will have learned about:
The architecture of Undertow
The Undertow host configuration
Serving static content
The servlet container configuration
The JSP configuration
Configuration of session cookies
How to create a simple web application