Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

GUID in java

  Asked By: Trupti    Date: Jun 11    Category: Java    Views: 887
  


What is the best mechanism for generate a GUID(globally unique identifier) in java(for example:use java.rmi.dgc.VMID or java.rmi.server.UID or ...)?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Wilbert Patterson     Answered On: Jun 11

in java  5 you can use:
java.util.UUID
java.sun.com/.../UUID.html

 
Didn't find what you were looking for? Find more on GUID in java Or get search suggestion and latest updates.




Tagged: