Ok I created a game. When a user goes to the wap site to download the game I have created a servlet that generates a uniqueID and then creates a java file with the uniqueID in it..
public final class GameProperties {
public final static long userID = " + userID + "L;\n" +
"\tpublic final static int gameID = " + gameID + ";\n" +
"\n\tpublic long getUserID(){\n" +
"\t\treturn userID;\n" +
"}" +
"}";
public final class GameProperties {
public final static long userID = " + userID + "L;\n" +
"\tpublic final static int gameID = " + gameID + ";\n" +
"\n\tpublic long getUserID(){\n" +
"\t\treturn userID;\n" +
"}" +
"}";