Howdy, Your points are well taken. However, I am not so worried about raw performance. For example, most containers seem to optimize the SSB method call and pass-by-reference in a same-JVM scenario (part of my stipulation).
It is really a scalability issue that troubles me, and particularly with the many-instances/one-instance tradeoff. If I have 1000 clients calling for this method, and I either have 100 SSB instances satisfying these requests (with some contention for the instances in the pool) or 1 singleton. So if the many stateless method calls on the singleton are just as fast as the many calls to many SSBs (or faster), it seems like a no-brainer. And we know that more instances leads to more GCing which leads to slower response times. Am I missing something? Thanks folks, George =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
