----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi Shaun

there are some different ways to implement servlet/applet communication.
One way is using sockets and exchanging text based information or serialized
Obejcts. The other way is using RMI.
For a deeper intorduction take a look at 'Java Servlet Programming' by Jaosn
Hunter, published by o'reilly and available in brief with sample source code at
http://www.servlets.com/jsp/examples/ch10/index.html - anyway: the book is worth
buying it ;-)

Hope, that helps,

Rupert


Shaun Campbell wrote:

> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> First of all apologies if this is not the correct forum for asking this
> question but I have looked everywhere and cannot find the solution.
>
> I have written a scheduling engine in Java which loads up data from a
> database using JDBC and whirrs away for anything up to half an hour
> calculating a solution, which is then posted back to the database.  I run
> this from the command line at the moment but I need to put a graphical front
> end to it:
>
> a) set up initial parameters.
> b) provide feedback to the user on progress.
> c) provide a cancel facility to stop the scheduler.
>
> I was thinking of converting my application to a servlet, and using an
> applet in a browser to control it, but I can't see how to get an applet to
> provide ongoing communication with a servlet.  All the examples I have seen
> show servlets basically returning HTML back to the browser as a one-off
> process.
>
> Has anybody got any suggestions as to how I can do this sort of thing?
>
> Thanks
>
> Shaun Campbell
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to