This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
It's much slower than static instaciation but ... it's dynamic as you said ! You could create a little script creating thousands of classes (see below) & instanciating them one after the other ? Or just try to access all the instances from the java / javax package. Perl or Python are good at that In the example here below, I used innerclasses but I am not sure it is the best approaches. If you can do it also with normal classes. Rgds, Thomas,