Originally posted by David Harkness:
I would say first to make sure you're storing the results of reflection for future use as much as possible.
Originally posted by let itbe:
- is EJB still worthed to learn? there is one book with title "... without EJB". I heard EJB to complex to implement and maintain. is Strut based on EJB?
NOTE: The functionality of this interface is duplicated by the Iterator interface. In addition, Iterator adds an optional remove operation, and has shorter method names. New implementations should consider using Iterator in preference to Enumeration.
Originally posted by Ilja Preuss:
Can you show us the benchmark code?
Also, what JDK did you run this on? This might heavily affect performance differences.
Originally posted by Tim West:
So, it can be slower in multithreaded apps, but you might need synchronisation.