You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Newton <ne...@yahoo.com> on 2007/03/23 20:34:44 UTC

[OT] Re: [JAVA]Generating unique identifier with in a sesssion

--- temp temp <mi...@yahoo.com> wrote:
> I need a  object which generates unique identifiers 

> for all instances I create  how to do this  ?

Synchronized counter? http://jug.safehaus.org/?
http://static.springframework.org/spring-webflow/docs/pr5/api/org/springframework/webflow/util/RandomGuid.html?

W/o knowing what you actually need or why it's hard to
say. Totally unique? Unique within object type?
DB-unique/unique forever?

d.



 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org