14 Jan
2008
14 Jan
'08
10:57 a.m.
Vincent Massol wrote:
Hi,
I've heard that there are some places in xwiki where we need unique ids (anyone remembers where?).
In any case I've found this JDK 1.5 class which can help us with the implementation: http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html
I'm posting it here for the record.
Thanks -Vincent
Against it, as it: - adds another dependency on Java 1.5 - only provides Random and Name UUID, no time-based UUIDs A better option would be Jug (http://jug.safehaus.org/), which provides more types of UUIDs. Sergiu