I started testing my ejb services with a multi-threaded client, and noted that my singleton ejb was being instantiated multiple times. When I annotated the singleton with @startup, the singleton was appropriately only instantiated once. I subsequently increased the interval between client thread instantiations, (after removing @startup) and the number of singleton instantiations diminished. When using lazy instantiation, the singleton appears vulnerable to multiple instantiations if called concurrently.
Howard
