Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java thread: generating a unique ID


Message #1 by "Khurram Chaudhry" <Kilyas@h...> on Tue, 29 Jan 2002 19:48:06
Well I read some where that java.rmi.server.UID().toString can be used to 
generate unique ID's for an application.  Now this class generates a 
unique id as long as the
1)  server's time is never reset backwards. What about when the
  time is set backwards automatically for daylight savings?
2)  The machine takes more than 1 seconds to reboot?

Also I would like to ask that would this uniqueness be maintained if the 
server is restarted.


  Return to Index