Java Uuid Generator (JUG) is a pure java UUID generator, that can be used either as a component in a bigger application, or as a standalone command line tool (similar to Unix 'uuidgen'). UUIDs are 128-bit Universally Unique IDentifiers (aka GUID, Globally Unique IDentifier used in Windows world).
JUG is an open-source library that generates UUIDs according to the IETF UUID specification
(and further clarified in UUID URN name space IETF draft). It specifically supports all 3 'official' types defined by the draft, unlike most (all?) other Java alternatives.
Starting with version 3.0 it will make use of up-to-date JDK features (uses java.util.UUID, can access Ethernet address using feature introduced in 1.6).
- 14-Oct-2010: 3.1.0 released -- some performance improvements over 3.0.0, cleaner locking, synchronization (still hope to further clarify, to allow cases of no-locking for single-thread-and-JVM use cases, maybe for 3.2.0)
- 19-May-2010: Getting close to finishing 3.0; created google group for discussions (see below)
- 13-Apr-2010: Started moved to this new home page; work for version 3.0
For development, GitHub JUG Project Page has all the necessary material (esp. source code).
Discussions are usually handled via Java Uuid Generator Users mailing list at Google-groups.
Download page has all the artifacts (and necessary Maven information).
Documentation page lists existing documentation.
You can use JUG in your application according to AL (Apache License 2.0).
Alternatively you can also opt to use LGPL (Lesser General Public License); but usually AL is just fine.
Old JUG Home Page at Safehaus has some historical information.