A Servlet 2.5 (JSR-154) specification targeted to the Java EE 5 platform.
September 26, 2005, Sun Microsystems, and an expert group for JSR-154 issued technical support release, which should be corrected version of the Servlet API version 2.4. Under normal conditions, these releases JSR expert groups to include a clarification, and useful solutions to improve the existing errors in the field of security in previous versions. However, in this case, it added several innovations that led to the revision and release of version 2.5.
Among the changes and improvements that were introduced in Servlet API version 2.5 are the following:
- Depending on the platform Java EE 5.
- Support for annotations.
- Convenience in writing the application descriptor web.xml
- Reduces some of the limitations of previous versions of the Servlet API.
- Clarification of the principles of the servlet for some extreme situations.
When working with Servlet API 2.5 keep in mind the version of containers that support this standard. At this point the latest versions of the servers as Tomcat, Jboss AS, Apache Geronimo support Servlet API 2.5.