项目作者: readlearncode

项目描述 :
Examples of ways to use the new Servlet 4.0 feature in Java EE 8
高级语言: Java
项目地址: git://github.com/readlearncode/Servlet-4.0-Sampler.git
创建时间: 2017-08-28T09:20:44Z
项目社区:https://github.com/readlearncode/Servlet-4.0-Sampler

开源协议:MIT License

下载


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.