Skip to content
flowersinthesand edited this page Apr 20, 2012 · 7 revisions

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

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

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

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

Atmosphere is a portable WebSocket/Comet framework in Java, leaded by @jfarcand.

Clone this wiki locally