Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

License

Notifications You must be signed in to change notification settings

readlearncode/Servlet-4.0-Sampler

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.