| Re: ion java-Servlets? [message #41680 is a reply to message #41514] |
Tue, 09 November 2004 18:11  |
p.sommer
Messages: 20 Registered: April 2004
|
Junior Member |
|
|
Michael Wallace <mwallace.no.spam@no.spam.swri.edu.invalid> wrote in message news:<10ofggk4cest9d@corp.supernews.com>...
> coco89 wrote:
>> I am trying to create an interactive interface, which, because of size
>> and complexity, may not run efficiently in an applet.
>>
>> It seems, that servlets would serve my purposes however, I am not sure
>> how I would implement ION Java.
>>
>> I am currently running JSDK 3.5.1 w/tomcat, for testing, how do I get
>> to my ION Server that is located on a Windows NT Server to test the
>> ION Java calls?
>
> This may not answer your question, but we never really found a good way
> to make ION work with servlets. We finally reached the conclusion that
> it would just be easier to use IDL processes and tie them back into Java
> rather than trying to go through ION. You'll need extra coding to
> manage the IDL processes, but the time spent writing that was much less
> than the time it would take to force the square peg of ION into the
> round hole of servlets. The only way we found to talk to ION through a
> servlet was via RMI, and unless you're well versed in RMI, that will
> take some time to learn. And our RMI solution was slow.
>
> We opted for creating a pool of IDL processes and directly connecting to
> the IDL processes through the standard input and output stream methods
> of Java. In our case we were just interested in creating images. So,
> all we had to do to complete the loop was stream the image back to Java
> which in turn was streamed to the browser.
>
> I just wish that RSI had taken the extra step of making the ION software
> applicable to servlets. Applets have a very limited scope and no one
> really does applet programming. There are certain applications that
> require applets, but for most uses applets aren't necessary. For us, we
> just needed IDL to create graphics, nothing more.
Hi Michael,
I'm curious...did you ever try to import the ION Java pkg directly
into your servlet? While I haven't worked with servlets specifically,
I have successfully used ION Java in other situations where no applet
was used -- i.e., in stand alone Java applications. If all ION is
going to do in the above application is sit back on the server and
process (no display), then I would think it would work fine. Or,
maybe it was the IONCanvas that was giving you problems? Regardless,
if you can provide me with a simple, yet relevant example of a servlet
implementation, I would be happy to take a look at it. Lastly, did
you ever explore ION Script in this context? Thanks in advance for
the additional information.
-P
|
|
|
|