I am using two JBoss 4.2.3 in clustering mode. I have a requirement to generate unique identifiers for the messages that are received by both the JBoss that has to be unique across both the JBoss servers.
What could be the best method of doing that?? I thought of using java.util.UUID class in both the JBoss seperately to generate them. Will this help, or it will create duplicates across servers?