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:




  1. i'm controlling an rdbms, i don't have any imagination method generators (such presumption oracle)

  2. i'd fast, preferably memory - i'd rather have open adult record increment value

  3. it needs thread stable (i'm awaiting wholly jvm during need beget ids)

  4. 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)

  5. 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).

  6. 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.

  7. i'm controlling jdk6



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?