-
Notifications
You must be signed in to change notification settings - Fork 0
Sample
A simple chat application with the jQuery Socket and various server side technologies. The browser based app is pure HTML web page and named index.html.
Java Servlet 3.0 Specification (JSR 315) is a specification that is part of the Java EE 6 technologies and includes support for asynchronous processing. Java API for WebSocket (JSR 356) is in progress. The following examples should work in any Servlet 3.0 container like Tomcat 7, JBoss 7, Jetty 8, GlassFish 3 etc.
Jetty is a servlet container, managed by the Eclipse foundation. Jetty 6 and later provide the Continuations API which can handle asynchronous request, and Jetty 7 and later support the WebSocket protocol, and Jetty 8 supports the Servlet 3.0 spec.
Tomcat is a servlet container, developed by the Apache Software Foundation. Tomcat 6 and later include the comet support which allows to process IO asynchronously, and Tomcat 7 supports the Servlet 3.0 spec, and the WebSocket is supported since version 7.0.27.
Atmosphere is a portable WebSocket/Comet framework in Java, leaded by @jfarcand.
- WebSocket and streaming
- Long polling
- Cache using event id implemented powered by Atmosphere.
- WebSocket, streaming and long polling
- Cache using event id implemented powered by Atmosphere.