11

Servlet Development and Deployment

In this chapter, we will discuss how to develop and deploy Java EE Servlets. Servlets allow us as application developers to implement server-side logic in Java web and enterprise applications.

The topics covered include the following:

  • What is a servlet?
  • Request forwarding and response redirection
  • Persisting application data across requests
  • Passing initialization parameters to a servlet via annotations
  • Servlet filters
  • Servlet listeners
  • Pluggability
  • Configuring web applications programmatically
  • Asynchronous processing
  • HTTP/2 server push support

Note

Example source code for this chapter can be found on GitHub at https://github.com/PacktPublishing/Jakarta-EE-Application-Development/tree/main/ch11_src

What ...

Get Jakarta EE Application Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.