skip to main content
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 Gantt Web technology exposes the JavaScript library internally used by the JViews Gantt 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 Gantt JavaScript Web Technology consists of:
*A server-side Java API
*The JavaScript library
The server-side Java API
The JavaScript library in the JViews Gantt 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 Gantt or Schedule view. When developing JViews basic JavaScript Web applications, the servlets must be subclasses of IlvManagerServlet (associated with an IlvManagerView). When developing JViews Gantt JavaScript Web applications, the servlets must be subclasses of IlvGanttServlet (associated with an IlvHierarchyChart which is common to Gantt and Scheduler).
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 Gantt JSF components is available for direct access when developing JViews Gantt 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.