Inshort, thenewplatform freesthedeveloperfromperforming anumberoftasksand
the creation of several types of objects that are required for setting up an application.
Some people might wonder why the support of HTML5 is so important. The answer
is simple: HTML5 is the latest release of the HTML standard. More so, it offers new
features that ease the building of more powerful and suitable web applications. For
example, via the <audio> and <video> elements of HTML5, you can play, pause,
and resume audio and video media content without the use of a third-party plu-
gin such as Flash. Through the canvas element and WebGL library (a subset of
OpenGL), you can easily integrate 2D and 3D graphics in your website. With re-
gards to communication between the client and server, the perfect integration of We-
bSocket protocol in HTML5 allows us to build a web application with full-duplex P2P
communication and get over some limitations of HTTP for real-time communication.
Using this protocol, you will have no difficulty in realizing chat applications or other
web applications that require real-time communication between the client and serv-
er, such as trading and e-commerce platforms. In terms of data exchange, the native
support of JSON format in HTML5 simplifies processing of information and reduces
the size of documents. Many other areas have been improved, but for now we will
only mention these ones.
Given all these innovations, the support for HTML5 features was added in JSF
(JavaServer Faces), a new API was added to Java EE 7 platform to build
WebSocket-driven applications and another API to process JSON data format.