Hi Jims,
On Mar 24, 2004, at 11:08 AM, h0004429@eee.hku.hk wrote:
> Dear all,
> I have tried the openmap applet and try to deploy it in Tomcat Server.
> However, I suffer an extreme slow response and inconsistent result for
> downloading the openmap applet and loading it successfully in my IE
> browser.
> Have anyone tried out that or can anyone give me some advice on it.
I'm not sure how you are configuring an applet to run under Tomcat.
Can you give more details about that?
> Also, I would like to know if I want to add some swing or AWT
> component to the
> openmap applet for the user to input something and then invoke RMI to
> seek data
> for one of my layer. Where can I add the component in the code, on the
> layer or
> the maphandler? Anyone can give me some help on such codings ?
>
I'd start simple, and create a derivation of OMGraphicHandlerLayer that
uses RMI to connect to your data source in the prepare() method,
getting/creating an OMGraphicList from that source, and returning it.
If you want more than one layer to access that data source, then I
would create an OMComponent that creates OMGraphicLists from the data
source based on parameters, and let OMGraphicHandlerLayers find the
OMComponent in the MapHandler (in their findAndInit() methods). The
layers would still talk to the OMComponent in their prepare() methods,
returning that list they received from that OMComponent.
- Don
-- [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 Thu Mar 25 10:24:16 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT