Shay Hasidim just published Global ID Generator, a global ID generator bean (surprise!) for GigaSpaces XAP, on the GigaSpaces Wiki. Good stuff. I prefer String ids, mind – and GigaSpaces can assign such itself, although there are good reasons to generate it pre-write.