File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes VMID Lengths Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "VMID Lengths" Watch "VMID Lengths" New topic

VMID Lengths

Alan Philpott

Joined: Apr 03, 2006
Posts: 1

We are using a VMID to generate a unqiue ID for creating a filename on the system. We considered using a date/time approach but this wouldnt be sufficient as multiple instances of an application could be deployed to write out files to a single place.

Is this considered a good way to generate a unique id?

Also, will the ID always be 42 characters long (if you ignore the '-' symbols)?

The ':' and '-' will be stripped out.


I agree. Here's the link:
subject: VMID Lengths
It's not a secret anymore!