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 ...)?
in java 5 you can use:java.util.UUIDjava.sun.com/.../UUID.html