When multiple instances (i.e. multiple users) of the same
java bean are running in the same JVM, does the JVM manage multiple complete copies of the Bean, or is it smart enough to have ONE copy of methods, with separate variables, managed for each
thread?
I'm referring to a plain java bean here, not an
EJB.
We have a group of very large java beans that perform a server-side domain business function. We are performance
testing multiple users of this group using the JMeter scripting tool. We encounter out of memory errors as we 'ramp up' the number of concurrent users, so I'm trying to learn more about how the JVM manages memory relative to this scenario.
Thanks