anchor.diff:  * and 6 specifications with minor updates : *+JPA 2.1+*, *+Servlet 3.1+*, *+EJB 3.2+*, *+CDI 1.1+*, *+JSF 2.2+* and *+Bean Validation 1.1+*
   
   
  -== DEMO : AngularJS HTML5/JSR-356 API application deployed on WildFly 8 (OpenShift)
  +== DEMO : AngularJS - HTML5 / JSR-356 API application deployed on WildFly 8 (OpenShift)
   
   If you want to see right away what it looks like, you can access +{link-demo}[the online application]+ whose code will be in part explained in this article.
   It's an application that give you the ability :
  
positive.code: = Java EE 7 and WebSocket API for Java (JSR 356) with AngularJS
  Maxime Greau mgreau.com
  2013-09-27
  :toc:
  :toc-placement: preamble
  
negative.code: 
  As shown in the diagram below, the *WebSocket protocol works in two phases* named :
  
  . *+handshake+ (open and close)*
  . *+data transfer+*
  
  [[websocket_protocol]]
  