comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL on the Net (ION)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL on the Net (ION) [message #42016 is a reply to message #41978] Tue, 14 December 2004 23:27 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> Sure. Hang in there and thanks in advance for the additional
> information. We'll figure something out...

This won't help your current situation, but just thought I'd offer up a
couple of spare cents and some lessons learned when we tried to work
with ION-Java. At one time we were planning on using ION-Java because
at the time we knew of no other way to get dynamic IDL online. The
first drawback, before trying to work things through the tunnel broker,
is that we are a strictly JSP/Serlvet shop. Applets should be avoided
like the plague! ;-) Needless to say, ION-Java has this fascination
about being applet only, so it was hard to try to fit pieces into our
servlet paradigm.

We did try to force ION-Java into our holes and we eventually got some
things working, but it was always a hassle. We gave up on ION-Java and
instead have the web server spawn off IDL processes to execute the
little IDL tasks (typically making plots) we need. I wrote up some Java
classes to handle transmitting data to IDL via shared memory and
creation of the IDL process. Once the IDL process completes, we just
serve the file(s) IDL created back up to the user on the web site.

The nice things about this approach:
1.) No extra servers/ports to worry about/configure
2.) No extra ION-Java licenses
2a.) You only need a single IDL license on the web server
3.) Pretty fast* (at least faster than our experiences using ION-Java)

* In doing some small tests (~50,000 X/Y pairs plotted), I could send
numbers from Java to IDL via shared memory and have a basic plot done in
just a couple seconds. An equivalent plot through ION-Java seemed to
take many long seconds.

The only drawback I know of is if you really need to have Java applets,
there's really not much choice in the matter. There's probably a way to
work directly with IDL from an applet, but I'd guess that it'd be a lot
more pain than it's worth to get past all of the security restrictions
and such. If you're not required to have applets, you'll save yourself
a lot of pain just by communicating with IDL directly. At least that
was our experience.

-Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Feature extraction of shape in raster image
Next Topic: Re: Fixing ragged edges in shade_surf PS output

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 01:03:20 PDT 2025

Total time taken to generate the page: 0.48133 seconds