What is the best way to generate a unique ID in java. People generally use
String id = System.currentTimeMillis+ someStaticCounter;
But this a
UUID.randomUUID()