Search

Servlet 3.0 and JSP 2.2

The Servlet 3.0 specification and JSP 2.2 are both part of Java Enterprise Edition 6. Both offer many new features and improvments over the previous version. Each is discussed below in separate sections.

Enterprise ready Web server powered by Tomcat

Introduction to Servlet 3.0

The Servlet 3.0 specification offers several new features. This section explores each feature and provides simple examples to help developers get started migrating from Servlet 2.5. The most important features are:

  • Programatic ability to define servlets, decorate and insert custom behavior. Also known as puggability.
  • Asnychronous request/response support for time independent processing and event driven processing
  • Better application control over authentication
  • Annotations simplify development tasks

Annotations Simplify Development Tasks

Space reserved

Asynchronous Request Processing

Space Reserved

Security and Application Control for Container Managed Authentication

Space reserved

Programmatic Component Definition

Space reserved