[jboss-user] [EJB 3.0] - Re: Can SLSB be dirty after new injection?
do-not-reply at jboss.com
Sat Jul 7 08:27:25 EDT 2007
@wolfc thank you for the answer!
its a pity, that a small error (misunderstanding of this aspect of ejb-spec) results in a total instability of a whole application. I think, its really confusing, to get a dirty new injected STATELESS bean from a container.
Couldn't it be better, to purge the dirty SLSB and from some threshold to fill the pool with new instances?
Are there some important reason why the SLSBs aren't one way? Is it really so expensive, to create asynchronously thousands of whole instances of a bean and put them on demand to the method-ready pool?
Isn't the throwing an exception an expensive way to remove the dirty instance?
Thank you and excuse my nosiness!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061587#4061587
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061587
More information about the jboss-user