What Is a Servlet?

Although Enterprise JavaBeans perform many of the data-oriented tasks in an application server, you also need a way to generate Web pages containing dynamic data. Servlets are Java classes that handle Web requests and generate responses. Most of the time, servlets receive requests from Web browsers and generate HTML output.

Get Special Edition Using Java™ 2 Enterprise 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.