This is an alternative process. one.world has got a class one.util.Guid which hooks into the native guid generator. It comes with full source to generate the dll/so (win/linux) or you can use the supplied binaries.
The upshot is drop the uniqueidentifier and go with a char. I'm using this same process while porting cgi's to servlets. yum yum
Hope it helps.
Thanks for the link. That looks even better than what I was trying to do. When you say you are using a char in your servlets. Do you mean that you are generating some value yourself or you are using a GUID and putting it in a char instead of UniqueId
I'm generating a String and putting it in a varchar column in the database instead of a UNIQUEIDENTIFIER.