[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: UUIDGenerator broken on Windows...
jmesnil
do-not-reply at jboss.com
Wed Feb 4 04:34:12 EST 2009
the UUID requires 6 bytes for its spatially unique identifier node.
an IPv4 address is not enough and a MAC address will do.
If we want to provide a standard UUID, we need to use the MAC address when available (i.e. only on Java 6) and a random 6-bytes array otherwise.
On Java 5, we can also use an IPv4 address + 2 random bytes as the node identifier.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206841#4206841
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206841
More information about the jboss-dev-forums
mailing list