Chapter 2Using Web Containers
- Choosing a web container
- Installing Tomcat on your machine
- Deploying and undeploying applications in Tomcat
- Debugging Tomcat from IntelliJ IDEA
- Debugging Tomcat from Eclipse
WROX.COM CODE DOWNLOADS FOR THIS CHAPTER
You can find the wrox.com code downloads for this chapter http://www.wrox.com/go/projavaforwebapps on the Download Code tab. The code for this chapter is divided into the following major examples:
- sample-deployment WAR Application File
- Sample-Debug-IntelliJ Project
- Sample-Debug-Eclipse Project
NEW MAVEN DEPENDENCIES FOR THIS CHAPTER
There are no Maven dependencies for this chapter.
CHOOSING A WEB CONTAINER
In the previous chapter you were introduced to the Java Platform, Enterprise Edition, and the concepts of Servlets, filters, and other Java EE components. You also learned about some of the new features in Java 7 and 8. Java EE web applications run within Java EE application servers and web containers (also known as Servlet containers, and this book uses the terms interchangeably).
Although the Java EE specification is full of many smaller sub-specifications, most web containers implement only the Servlet, JSP, and JSTL specifications. This is different from full-blown Java EE application servers, which implement the entire Java EE specification. Every application server contains a web container, which is responsible for managing the life cycle of Servlets, mapping request URLs to Servlet code, accepting and responding ...
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