Servlets are the core place to deal with requests and responses using Java EE. If you are still not familiar with it, know that even a JSP is nothing more than a way to build a servlet once the page is called.
This recipe will show you three features you can use when using servlets:
- Load on startup
- Parameterized servlets
- Asynchronous servlets