skip to main content
Charts > Programmer's documentation > Building Web Applications > Introduction to JViews Web applications > JViews JavaScript Web applications at a glance
 
JViews JavaScript Web applications at a glance
JavaScript™ is a prototype-based scripting language supported natively by most modern Web browsers, allowing the creation of dynamic Web content and enhanced user interfaces.
In this documentation, the term JavaScript is used in the broader scope, including the JScript variant supported by Microsoft® Internet Explorer®.
The JViews Charts Web technology exposes the JavaScript library internally used by the JViews Charts JSF components so that you can build lightweight and highly interactive Web applications directly using JavaScript. This gives you more control over the client-server communication, and how the client side and server side respond to user interaction.
The JViews Charts JavaScript Web Technology consists of:
*A server-side Java API
*The JavaScript library
The server-side Java API
The JavaScript library in the JViews Charts Web technology relies on Java servlets to handle the client requests and produce the appropriate response. A client request is triggered through JavaScript API to update the graphic view, usually as a consequence of user interaction.
The servlets are responsible for decoding the client request and processing the appropriate response, which may be a new image update representing the current state of the chart view. When developing JViews basic JavaScript Web applications, the servlets must be subclasses of IlvManagerServlet (associated with an IlvManagerView). When developing JViews Charts JavaScript Web applications, the servlets must be subclasses of IlvChartServlet (associated with an IlvChart.Area through IlvChart).
For more information about the different servlets available and how to extend and/or customize them, see JViews servlet implementation.
The JavaScript library
The same JavaScript library internally used by the JViews Charts JSF components is available for direct access when developing JViews Charts JavaScript Web applications. This library provides the JavaScript components required to build the application’s user interface.
For more information about the different JavaScript objects and their API, see JViews JSF applications versus JViews JavaScript applications and the Javascript API reference documentation.

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.