yep, like you have a single fridge in your kitchen (pool of stateless) and everybody uses it (thread pool(s)).
As usually the smaller pool will limit others indirectly Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014/1/8 Anthony Fryer <[email protected]>: > So there's a sync thread pool (ie. when called by a HttpServletRequest) and > if that thread calls a stateless session EJB method synchronously, it uses > that same thread and is only limited by the stateless session pool size. If > an async call is made, then is uses the async thread pool (default size 3) > and then if that thread calls an EJB method, it will take that EJB instance > from the same EJB pool as the sync thread? > > I think what i'm trying to ask is that the stateless session pool size of > 100 will be used across both sync and async thread pools? The problem here > is that the async thread pool size is only 3. Is that correct? > > Cheers, > > Anthony > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Re-stateless-bean-pool-all-beans-not-available-async-business-method-causes-problem-tp4667020p4667034.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
