This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Its about uniqueIDs again! This is starting to get to me. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Its about uniqueIDs again! This is starting to get to me." Watch "Its about uniqueIDs again! This is starting to get to me." New topic
Author

Its about uniqueIDs again! This is starting to get to me.

Ian Strain
Ranch Hand

Joined: Jun 30, 2004
Posts: 49
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" +
"}" +
"}";


"its bad luck to be superstitious....."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Its about uniqueIDs again! This is starting to get to me.
 
Similar Threads
Creating a unique random number...
Its about uniqueIDs again! Problems with downloading modified jar files
Static initilaization vs. Constructor initilaization
Serializable two times within a entity?
Entity Bean on JBoss4.0.2