skip to main content
Programmer's documentation > Building Web applications > Introduction to JViews Diagrammer 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 Diagrammer Web technology exposes the JavaScript library internally used by the JViews Diagrammer 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 Diagrammer JavaScript Web Technology consists of:
*A server-side Java API
*The JavaScript library
The server-side Java API
The JavaScript library in the JViews Diagrammer 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 diagram view. When developing JViews basic JavaScript Web applications, the servlets must be subclasses of IlvManagerServlet (associated with an IlvManagerView). When developing JViews Diagrammer JavaScript Web applications, the servlets must be subclasses of IlvDiagrammerServlet (associated with an IlvSDMView through IlvDiagrammer).
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 Diagrammer JSF components is available for direct access when developing JViews Diagrammer 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.