NGIS WebServer
WEB-Server architecture
The cartographical web-server is created in the form of the servlet with
usage of language Java. Technologies Java are multiplatform, it means, that
the web-server will work on all popular operating systems (Windows, Linux,
Solaris, Macintosh, etc.). Following web-server support technology JAVA:
- Apache+Tomcat + JRun
- Microsoft IIS+Tomcat+JRun
- IBM WebSphere
- Lotus Domino Server
- Sun J2EE etc.
Specific feature of the servlet is that it does not demand creation
of new processes at each new query. Queries are run in a parallel way within
the limits of one process on a server and on the productivity surpass CGI,
and FAST-CGI applications. For processing each query new process starts
in traditional CGI - programs. Using servlets virtual machine Java starts
each process in light process. For traditional CGI programs at simultaneous
receiving N queries in memory loads N copies of programs. For servlets in
this case to be organized N threads, but all of them use one copy of a servlet
class with the loaded cartographical data and parameters. In case CGI after
the termination processing of query process is completed. In case of the
servlet after the termination processing of query, servlet remains in memory,
therefore can store any data in periods when clients request and provides
an instant answer.
The given unique architecture differs by big speed operation of cartographical
web-server, saving memory of a server and small memory necessary for each
session of the client that allows to manipulate a plenty of sessions.
Main features
" Written with usage Java(JDK 1.3)
" Support MultiLayer map
" Multiplatform (Windows, Linux, MacOS, Solaris)
" Fast draw map.
" Support of all *.tab, *.map, *.dat formats.
" Support map R-Tree index.
" ZoomIn/ZoomOut/Pan map tools.
" Drawing main objects of MapInfo.
" Support of different style lines.
" Save map WorkSpace parameters.
" Drawing the map labels.
" Small size and compact.
" Save geoset parameters on XML.
" Support MultiLanguage encoding.
Interface part.
Advantages NGISWebServer are that the program part of a server (servlet)
is separated from the interface part representing map on the web page.
The interface part is created with usage of technology Java Server Pages
(JSP.) JSP technology is similar to such technologies as ASP (Active Server
Pages) and PHP where statistical HTML is mixed with server script language
for receiving generated data from a cartographical server. Due to such
dividing it is possible to change design of Web page displaying map on
your taste and to add some additional information to it.
Installation
- Installation on a server in Demo version.
1. Download a product.
2. Take file NGISWebServer.war in a directory "war" which
is packed in the form of a web-archive. After that you can copy it in
a directory "webapps" any server-application (example: Tomcat,
WebSphere), and it will be automatically deployed and execute at link
to it on URL (example
http://www.yourdomain.com/servlet/mapsrv).
3. The Cartographical server works!!!
- Installation of the cartographical data on a web-server.
1. Start the setting program of map NMapBrowser which is also multi-platform
and will set a file parameters of map DataSet.ngs. By means of the program
you can add/delete layers, change order drawing of layers, add parameters
drawing of labels on a map, change ranges drawing of each layer, etc.
2. Copy all cartographical data on a server and replace DataSet.ngs
on your new file parameters of a map.
|