Re: how can I open netcdf file in applet?

  • To: "Vehorn, Robert CIV SPAWARSYSCEN Charleston SC J672" <robert.vehorn@xxxxxxxx>
  • Subject: Re: how can I open netcdf file in applet?
  • From: Tom Whittaker <tomw@xxxxxxxxxxxxx>
  • Date: Thu, 9 Feb 2006 10:47:48 -0600
Hi Bob...

I agree that this is a good way to go....IF your users can install the
Java Runtime on their machines.  The problem we've had is that in
Windows XP, Administrator Privleges are still required to do this and
not everyone can do this (for example, most of our staff is not
"authorized").  We have gotten around this in a few cases by creating
an installer for javaws, but then it is not automatically linked to
the browser....Catch-22.  Most of the time, though, it has been easier
to just make an applilcation and package it with the JRE....

If you have other solutions, please let me know, too!!

tom

On 2/9/06, Vehorn, Robert CIV SPAWARSYSCEN Charleston SC J672
<robert.vehorn@xxxxxxxx> wrote:
> Just a quick note about using an application vice an applet;
> applications can be loaded from your web server much the same as an
> applet using Java Web Start.
>
> http://java.sun.com/j2se/1.5.0/docs/guide/javaws/index.html
>
> Cheers,
> Bob
>
> -----Original Message-----
> From: owner-netcdf-java@xxxxxxxxxxxxxxxx
> [mailto:owner-netcdf-java@xxxxxxxxxxxxxxxx] On Behalf Of Tom Whittaker
> Sent: Thursday, February 09, 2006 2:53 PM
> To: Jon Blower
> Cc: monica@xxxxxxxxxx; netcdf-java@xxxxxxxxxxxxxxxx
> Subject: Re: how can I open netcdf file in applet?
>
>
> You are correct.  The applet security model prevents applets fromopening
> any connections with "other" host machines.  You have severaloptions: 1.
> move the netcdf file to the host from which the applet is loaded2. use a
> servlet or serlet-like approach and have the applet talk tothe servlet
> (running on your host machine) which in turn reads thenetcdf file3. sign
> the applet and set the permissions to allow for connections toother
> hosts4. use an application rather than an applet Details can be read at:
> <http://java.sun.com/sfaq/> tom
>
> On 2/9/06, Jon Blower <jdb@xxxxxxxxxxxxxxxxxxxx> wrote:>> Dear Monica,>>
> I'm not absolutely sure, but I think the problem lies with the security>
> model of Java applets.  I don't think you're allowed to load any data
> from a> remote server, except for the server that is hosting the applet
> itself.  Try> loading a netCDF file from your web server - it will
> probably work.>> Regards,>> Jon>>
> -------------------------------------------------------------->  Dr Jon
> Blower              Tel: +44 118 378 5213 (direct line)>  Technical
> Director         Tel: +44 118 378 8741 (ESSC)>  Reading e-Science Centre
> Fax: +44 118 378 6413>  ESSC                       Email:
> jdb@xxxxxxxxxxxxxxxxxxxx>  University of Reading>  3 Earley Gate>
> Reading RG6 6AL, UK>
> --------------------------------------------------------------
> --Tom WhittakerUniversity of Wisconsin-MadisonSSEC/CIMSS1225 W. Dayton
> StreetMadison, WI  53706  USAph: 608-262-2759
>


--
Tom Whittaker
University of Wisconsin-Madison
SSEC/CIMSS
1225 W. Dayton Street
Madison, WI  53706  USA
ph: 608-262-2759


  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: