Sorry if this is too simple and I should have looked elsewhere (URLs are as
acceptable as an explanation!) but I am writing an applet that communicates
with a Servlet. All I want to do is get the simplest version of this to work
so that I can see it work and (hopefully :-O ) develop it further. The
problem is that it seems there is a different way to communicate with
Applets that Applications.

Can someone explain each of the steps? I need some kind of help here for
this, I'm going insane! Anyone that has the time to talk me through the
stages and give me an understanding of what each stage does would be much
appreciated.

I have at present:

A Servlet file,
A Remote interface with the methods that the Client can call on the Servlet,
A Client file
A Package file (used for the passing of objects, since Applets need to get
round the usual way by doing this apparently).

Anyway- from what I understand, and I realise that there may not be enough
info here for you to help, but I compile the Servlet and the Remote
Interface and the Package, then rmic the Server to generate the stubs and
skeleton classes, then start servlet runner compile the Applet and run it,
and all should run well, but I get an error in the Servlet file that there
is no main method... but none of my examples have one. Is there a different
protocol for Applets? Am I doing something blindingly wrong? Sun's Java page
covers Servlets but seems to go into why you can use them and then into them
working, with little on the start up.

Please save me!

C.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to