Summary
This chapter covered how to develop, configure, package, and deploy servlets. The following topics were covered in this chapter:
- How to process HTML form information by accessing the HTTP request object
- Forwarding HTTP requests from one servlet to another was covered, as well as redirecting the HTTP response to a different server
- Persisting objects in memory across requests by attaching them to the servlet context and the HTTP session
- Configuring web applications via annotations
- Pluggability through
web-fragment.xml
- Programmatic servlet configuration
- Asynchronous processing
- HTTP/2 server push
Armed with the knowledge from this chapter, we can now implement server-side web application logic using Jakarta servlets.