This content has been marked as final. Show 3 replies
I want to allow EJB method invocations to be throttled as a way to reduce concurrency in applications. My first attempt at this is working great (I'm throttling at the PooledInvoker level for remote invocations only). This is intended for session bean level throttling.
Lately, I've been thinking that it might be more appropriate to throttle at the EJB interceptor level instead so that applications can tailor throttling at the ejb container level.
Should I switch to throttling at the interceptor level and should the throttle interceptor code be checked into 4.x or 5.x?