WASdev/sample.async.servletnio

Name: sample.async.servletnio

Owner: WASdev

Description: This is a collection of samples that illustrate the Non-blocking IO capabilities of Servlet 3.1 in Java EE7 that can be used to make your applications more responsive. #JavaEE7

Created: 2015-06-25 14:42:24.0

Updated: 2017-07-30 03:28:28.0

Pushed: 2017-10-24 19:55:50.0

Homepage:

Size: 125

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Java EE7: Non-blocking Servlet IO Build Status

Java EE7 added support for Non-blocking Servlet IO (NIO) in Servlet 3.1, which enables reading and writing data without blocking a thread, which can be very useful when faced with slow clients. The new function builds upon support for asynchronous processing that was introduced in Servlet 3.0, and will only work with async-enabled apps.

This sample contains a few variations to illustrate how Non-blocking IO in Servlet 3.1 works:

Getting Started:

Browse the code to see what it does, or build and run it yourself:

Once the server has been started, go to http://localhost:9083/servlet-nio/ to interact with the sample.

More on Servlet NIO
Notice

© Copyright IBM Corporation 2015, 2017.

License
nsed under the Apache License, Version 2.0 (the "License");
may not use this file except in compliance with the License.
may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

ss required by applicable law or agreed to in writing, software
ributed under the License is distributed on an "AS IS" BASIS,
OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
the License for the specific language governing permissions and
tations under the License.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.