Solved

Highscore list in a java applet

Posted on 2001-06-15
3
451 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This video teaches viewers about errors in exception handling.

810 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