Re: serving multiple shape files with Linklayer

From: James Edward Marca <jmarca@translab.its.uci.edu>
Date: Mon May 14 2001 - 08:42:58 EDT

Hi,

I am running multiple ShapeLinkServers to serve up multiple shape
files. I am not so clued in on sockets and servers, and I was
wondering what happens when lots of applets start hitting the same
servers. Right now I am lucky enough that only one person is using
my applet to process data, but that may change in the future.

I wrote another layer server for my own GPS/database data source
that works via a Java client implementation of XML-RPC---mostly to get
around the applet same-server requirement (the xmlrpc server is on the
same machine, but it routes calls for services to other machines (my
database server)). The other advantage is the client just has to know
one socket, one function name, but I can move the actual client elsehwere
If I need to.

I am a little more confident about multiple hits on the XML-RPC server,
and so I was wondering if it would be worth it to wrap the ShapeLinkServer
in xml-rpc server calls. Any thoughts?

James

>From Donald F. Dietrick, received Mon, May 14, 2001 at 12:51:45PM -0400:
> Hi Rajesh,
>
> The current ShapeLinkServer only provides a way to serve up a single
> shape file at a time, so if you want multiple shape files displayed,
> you'll have to set up multiple layers and multiple servers.
>
> You could create your own ShapeLinkServer to use multiple SpatialIndex
> objects to access more than one shape file at a time. The protocol
> doesn't limit you in terms of how your server is constructed and what
> data it accesses.
>
> Cheers,
>
> Don
>
> "Rajesh.M" wrote:
> >
> > Hi Don,
> >
> > >The LinkLayer, as part of an OpenMap Application or Applet using the
> > >MapBean, is the client. The LinkLayer has been written to use the
> > >protocol to talk to a server as needed.
> > ** succesfully did the Linklayer - linkserver communication and popped
> > up the applet with shapefiles..that was cool stuff..
> > However i need to support multiple shape files. Should i start Linkserver
> > on multiple socket ports each serving different shape files or is there any
> > other better way there in the code for serving multiple shape files?
> > cheers
> > rajesh.m
> >
> > --
> > [To unsubscribe to this list send an email to "majdart@bbn.com"
> > with the following text in the BODY of the message "unsubscribe openmap-users"]
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe openmap-users"]

-- 
james e. marca
jmarca@translab.its.uci.edu
http://www.its.uci.edu/~jmarca
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon May 14 14:16:17 2001

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT