Highscore list in a java applet

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
GrahnAsked:
Who is Participating?
 
TimYatesConnect With a Mentor Commented:
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
 
exorcistCommented:
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
 
GrahnAuthor Commented:
thanks for your help! the tetris-link was great!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.