Distributed Objects with UUID?

I’m in the process of using a MOM to distribute applications. However the one piece I’m lacking is a UUID for the object id. Is there something already available to do this, or should I be using a different approach. I’m looking to loosely couple many and future applications together. Where each application shares a small part with another, or objects move from one application to another as they are processes. Any advise or direction on this would be greatly appreciated.

This is what I’m looking at doing. Anyone see any issues with this?

http://rolandmoriz.com/blog/2011/04/21/UUID%20primary%20keys%20in%20Rails-3/

I did end up using this method. Seems to work just fine. If anyone has suggestion, I would be happy to listen. Thanks.