[The Java Posse] Multi-threading

2009-06-03 Thread Tasos Zervos
It appears (in recent podcasts) that the Posse (Dick only?) equates multi-threading to parallelism. Definitely, if you're interested in calculations and batch processing this is the way to go and Actors/MapReduce/Executors/Futures/fork-join/ etc. help greatly. Concurrency seems to be ignored thou

[The Java Posse] DB2 is nowhere?

2009-04-28 Thread Tasos Zervos
r a while it was ahead of Oracle, while it is always ahead of SQLServer. And revenue-wise it hasn't lost ground; it's still growing. Regards, Tasos Zervos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[The Java Posse] Re: Fwd: [The Java Posse] Re: episode 215: reflection and generics

2008-11-12 Thread Tasos Zervos
be ParameterizedType and theres > absolutely no way to get the String parameter you passed in the > constructor - thats because in java, generics are implemented with > erasure instead of reified types, in which case you could fetch the > type information > > On 11/11/08, Tasos Zerv

[The Java Posse] Re: Fwd: [The Java Posse] Re: episode 215: reflection and generics

2008-11-11 Thread Tasos Zervos
ield types to Map and you wont the get info > anymore, even tough you created the maps with the type information > > -- Forwarded message -- > From: Tasos Zervos <[EMAIL PROTECTED]> > Date: Mon, Nov 10, 2008 at 10:48 AM > Subject: [The Java Posse] Re: episode

[The Java Posse] Re: episode 215: reflection and generics

2008-11-10 Thread Tasos Zervos
Episode #166 - Guillaume Laforge on Groovy also included Guillaume describing how Groovy gets the Generics info from Java [class-loaded] classes! Posse, posse... ;-) On Nov 6, 6:53 pm, Casper Bang <[EMAIL PROTECTED]> wrote: > It's actually all described in chapter 7.5 of "Java Generics and > Col

[The Java Posse] Re: episode 215: reflection and generics

2008-11-10 Thread Tasos Zervos
p2, "map2")); } } My quick test shows: map1.getClass() == map2.getClass() is true map1.getClass() is class java.util.HashMap map2.getClass() is class java.util.HashMap map1 is of type java.util.HashMap map2 is of type java.util.HashMap :-D Tasos On Nov 10, 12:46 pm, Tasos Zer

[The Java Posse] Re: episode 215: reflection and generics

2008-11-10 Thread Tasos Zervos
The equality test has to return true otherwise you would be breaking compatibility with older code. This doesn't mean that there aren't other ways to find the "signature" of map1 and map2. The Reflection API does provide access to the "specific" types of generic signatures. Have a look at this 2