You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Murray Altheim <mu...@altheim.com> on 2008/06/10 06:06:59 UTC

org.safehaus.uuid.UUID vs. java.util.UUID

Hi,

Given that Java 5 includes java.util.UUID I'm wondering why we're using
the jug-asl-2.0.0.jar file (org.safehaus.uuid.UUID) and if it can be
replaced by using the native one in Java. Lighten the load, etc. Is
there a compelling reason to use the non-Java version?

I note in CookieAuthenticationLoginModule.java that there's a note to
replace this in 3.0 -- any reason why the wait? Or is this just due to
workload/time available?

Cheers,

Murray

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record

Re: org.safehaus.uuid.UUID vs. java.util.UUID

Posted by Andrew Jaquith <an...@mac.com>.
Murray --

The version of CookieAuthLoginModule for the current 2.8 builds use  
the built-in Java 5 class java.util.UUID. So you must be looking at an  
earlier version...

PS. I also used the built-in Java 5 version for the generating UIDs  
for user profiles.  Specifically, AbstractUserDatabase uses it also...

Andrew

On Jun 10, 2008, at 12:06 AM, Murray Altheim wrote:

> Hi,
>
> Given that Java 5 includes java.util.UUID I'm wondering why we're  
> using
> the jug-asl-2.0.0.jar file (org.safehaus.uuid.UUID) and if it can be
> replaced by using the native one in Java. Lighten the load, etc. Is
> there a compelling reason to use the non-Java version?
>
> I note in CookieAuthenticationLoginModule.java that there's a note to
> replace this in 3.0 -- any reason why the wait? Or is this just due to
> workload/time available?
>
> Cheers,
>
> Murray
>
> ...........................................................................
> Murray Altheim <murray07 at altheim.com>                            
> ===  = =
> http://www.altheim.com/murray/                                     =  
> =  ===
> SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               =  
> =  = =
>
>      Boundless wind and moon - the eye within eyes,
>      Inexhaustible heaven and earth - the light beyond light,
>      The willow dark, the flower bright - ten thousand houses,
>      Knock at any door - there's one who will respond.
>                                      -- The Blue Cliff Record


Re: org.safehaus.uuid.UUID vs. java.util.UUID

Posted by Murray Altheim <mu...@altheim.com>.
Janne Jalkanen wrote:
> 
> If you take a closer look you'll see that 2.7.x builds already use the 
> JDK5 version and got rid of the jug library.

Ah, yes, I was specifically looking at my current 2.6.2 install's lib
directory, still playing catch-up with newer builds. Okay, good. Thanks
all for the clarification.

Murray

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record

Re: org.safehaus.uuid.UUID vs. java.util.UUID

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
If you take a closer look you'll see that 2.7.x builds already use  
the JDK5 version and got rid of the jug library.

/Janne

On 10 Jun 2008, at 07:06, Murray Altheim wrote:

> Hi,
>
> Given that Java 5 includes java.util.UUID I'm wondering why we're  
> using
> the jug-asl-2.0.0.jar file (org.safehaus.uuid.UUID) and if it can be
> replaced by using the native one in Java. Lighten the load, etc. Is
> there a compelling reason to use the non-Java version?
>
> I note in CookieAuthenticationLoginModule.java that there's a note to
> replace this in 3.0 -- any reason why the wait? Or is this just due to
> workload/time available?
>
> Cheers,
>
> Murray
>
> ...................................................................... 
> .....
> Murray Altheim <murray07 at altheim.com>                            
> ===  = =
> http://www.altheim.com/murray/                                      
> = =  ===
> SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk                
> = =  = =
>
>       Boundless wind and moon - the eye within eyes,
>       Inexhaustible heaven and earth - the light beyond light,
>       The willow dark, the flower bright - ten thousand houses,
>       Knock at any door - there's one who will respond.
>                                       -- The Blue Cliff Record