Undertow implements WebSockets in WildFly. It's the new web server of WildFly moving from the historical Tomcat servlet engine in all JBoss AS. The main reason of this substitution is done by WebSocket. Undertow is the first web server implementing WebSockets together with the other Java web specifications as JSF, servlet and JSP.
Implementation engine
A first basic example
In this paragraph, we will start a sample and will show all basic annotations and classes for WebSockets. See at the first an HTML page:
This page is represented by a link that sends a message through a WebSocket. Here is the code of the page:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title...