Servlet 3.0 Tutorial
This section contains detailed tutorial with sample code on the major upgradation in Servlet 3.0 API.
Java Servlet is a server-side web-based technology utilized for constructing dynamic web content for web-based applications. It broadens the potentiality of servers, which host web-based applications, through harnessing request-response programming model.
In the early days of Java, Servlet's thought came into the mind of James Gosling but it didn't became reality until the release of Java Web Server product . The first Servlet API version 1.0 was released on June 1997. The latest released version of Servlet API until now, when i am writing this, is Servlet 3.0 .
Given below the list of tutorials on major changes or additions in the Servlet 3.0 :
Asynchronous Support
- ServletRequest Interface
startAsync method
- AsyncContext Interface
dispatch method
- AsyncContext Interface addListener
-
AsyncContext Interface important methods
- AsyncListener Interface important methods
- Class AsyncEvent important methods
- AsyncContext Example
-
Example :AsyncContext complete() method
- AsyncListener Example
-
Annotations
Pluggability
- Introduction to web fragment(web-fragment.xml)
- Ordering of web fragments
- Example : Assembling web.xml from fragments
Programmatic Security