The XML Grapher example shows how to build the server
side and also how to create a JavaScript client.
This example allows you to display a network of interconnected
cities on top of the map in a Web application context.
The XML Grapher example is composed of the following
pieces:
A Rogue Wave® JViews
component that can read an XML file describing a set of interconnected
cities and display them on top of a map as shown in the picture above.
This component is located in the following files:
Some example XML files for the component,
located in
<installdir>
/jviews-framework89/samples/xmlgrapher/webpages/data
A servlet that can produce JPEG images
from the component described above.
The
servlet is located in:
A JavaScript client composed of: