Skip to content

praveen-java/Servlet-4.0-Sampler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Servlet 4.0 Examples

Examples of ways to use the new Servlet 4.0 feature in Java EE 8

The code repository contains three examples:

  1. An example of using Server Push in a Servlet: SimplestExample
  2. An exmaple of using the Servlet Mapping API: ServletMapping . Ensure that you uncomment the relevant sections in the web.xml and the WebServlet code line in the class.
  3. A very simple and naive way to implement a push cache filter: PushCacheFilter

This repository contains the examples I demonstarted in my article "Servlet 4.0: Doing More Faster" that was published in the November/December 2017 edition of the Java Magazine.

About

Examples of ways to use the new Servlet 4.0 feature in Java EE 8

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 88.2%
  • HTML 11.8%