Java Servlet and Applet
Posted on 2001-06-24
I am looking at creating a set of programs where people can play card games against each other online. This would be done via a web page where the game applet is loaded via a button. The button would then start the applet which would connect to the servlet. If the servlet is not up, the servlet would be started up.
The servlet basically acts as a referee and sends messages on what to display. The servlet would record results to a file on it's local computer.
The applets would display information and allow moves and commands to be processed.
1. Is this approach possible?
2. Is there any special considerations that i need to consider?
3. I would like as part of this solution, basic html code for the web page, base java applet code and servlet code.
4. Instructions on how to install whatever software is needed
5 Assistance in getting the base code up and running.