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 Maps for Defense Web technology exposes
the JavaScript library internally used
by the JViews Maps for Defense 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 Maps for Defense JavaScript Web Technology consists of:
A server-side Java API
The JavaScript library
The server-side Java API
The JavaScript library in
the JViews Maps for Defense 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 map view. When
developing JViews basic JavaScript Web applications, the servlets must be subclasses
of
IlvManagerServlet (associated with an
IlvManagerView).
When developing
JViews Maps JavaScript Web
applications, the servlets must be subclasses of
IlvMapServlet (associated with an
IlvSDMView.
The JavaScript library
The same JavaScript library
internally used by the JViews Maps for Defense JSF components is available for direct access when developing JViews Maps for Defense JavaScript Web applications. This library provides the JavaScript components required to build the application’s
user interface.