Your assumptions are correct. As for which is better, it depends on several
factors.
If you need to get a lot of data to the map, the applet my not be your best
choice, as all data must be transferred from the server to the client for
rendering.
If you need a lot of interactivity, the servlet method is not your best
choice, as it simply serves up the image and does not provide interactivity.
Interactivity can be provided through the page the you build around the map
image, but you must implement that.
We have developed the servlet method here and have created a pretty good
interface around the image, but it does take some work. We have the ability
to toggle layers, drag zoom boxes, click on items to get more info, etc.
-----Original Message-----
From: Frédéric Trifiro [mailto:job@trifiro.net]
Sent: Tuesday, May 04, 2004 7:43 AM
To: openmap-users@bbn.com
Subject: [OpenMap Users] Servlet, applet and Tomcat application
Hi again ;),
I have a lot of questions these days, sorry ! Below another one.
I have to integrate the OpenMap functionnalities with an existing web
application which works under Tomcat. I think i have two main possibilities,
tell me if i am right or wrong :
1/ client-side : i can make an applet to deal in a standalone way with
OpenMap
capabilities. That way, i can add interactivity to the map, like displaying
further infos on a click event for example. All the info i need comes from
database and the applet does all the work.
2/ server-side : i build the map in a servlet and throw an image to the
client.
>From what i read, it seems that there is no other way to do with servlets
and
OpenMap. Maybe i'm wrong but if not, there can't be any interactivity with
the
end user. If there is much info to show, this solution can't be used.
Is my understanding good ? And what's is the best to do ?
Thanks :)
Frederic
-- [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"]Received on Tue May 4 12:11:22 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT