Solved

Highscore list in a java applet

Posted on 2001-06-15
3
465 Views
Last Modified: 2008-02-07
How can i implement a "global" highscore list in a java applet? i want the highscore list to reside on the server and in some way the applet should communicate with the server. Can i implement this using cgi? someone who can help me?

Thanks!

/grahn
0
Comment
Question by:Grahn
3 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 300 total points
ID: 6196037
You could use a servlet, or an RMI server...

have a look here http://jyderne.adsl.dk/mikkel/java/WebTris.html where they have the source for a tetris clone with a high score server

I personally would use an RMI server which the applet connects to and calls functions on it...

You can have a look at an RMI tutorial here:

http://www.uni-klu.ac.at/unihome/header/tutorial/javatutorial122/reallybigindex.html#rmi

Good Luck!!

Tim.
0
 
LVL 3

Expert Comment

by:exorcist
ID: 6196468
Well, this only works if you set up the server yourself. I doubt there are Internet Service Providers offering RMI for their customers. Something like cgi, asp or php might be more realistic. Unless you are lucky enough to have your own server. hehe
0
 

Author Comment

by:Grahn
ID: 6203011
thanks for your help! the tetris-link was great!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question