generating globally unparalleled identifier java
summary: i'm building determined java web application, i need certain resources i insist have globally unparalleled identifiers hinder duplicates.
the glorious print:
- i'm controlling an rdbms, i don't have any imagination method generators (such presumption oracle)
- i'd fast, preferably memory - i'd rather have open adult record increment value
- it needs thread stable (i'm awaiting wholly jvm during need beget ids)
- there needs conformity opposing instantiations jvm. server shuts down starts up, id generator shouldn't re-generate same ids generated before instantiations (or during slightest luck really, unequivocally slim - i design millions presisted resources)
- i have seen examples ejb unparalleled id settlement article. won't work me (i'd rather rest wholly system.currenttimemillis() since we'll nutritious churned resources per millisecond).
- i have looked during answers due . pleasantness is, luck i register id over time? i'm intrigued idea , nonetheless again, chances register need infinitesimally small.
- i'm controlling jdk6
Comments
Post a Comment