tor, 2003-03-27 kl. 21:21 skrev Galen Wilkerson:

> - make calls to fast C/C++ routines on the server that the applet
> downloaded from

Since the other questions have been answered, I only comment on this
one.  Depending on your needs there are several ways to do this. The
cleanest one (at least I think so) is probebly to wrap your C routines
in a server-process on the server-machine and connect to it from the
applet with a Socket (or SocketChannel if you must transfer nontrivial
amounts of data).  You must then spec a simple protocol used for
transferring data.  Alternatively you may use CORBA, or you may use the
rmi-stuff of java to invoke a java-program on the server which is linked
with high-performance native code.

I've done this myself in the case of surface modelling algorithms which
are too cpu-intensive for a java-client.

--
Simen Gaure, Scientific Computing Group, USIT, University of Oslo

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to