[jboss-user] [EJB 3.0] - Re: Why isn't @Predestory honored in @Stateless beans as wel

bill.burke@jboss.com do-not-reply at jboss.com
Wed Aug 2 08:03:57 EDT 2006


by default, we pool in a threadlocal variable.  This is to avoid synchronization in very high thread loads.  It is a common pattern.  This is why predestroy is never called.

All you need to do is plug in your own pool implementation.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962429#3962429

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962429



More information about the jboss-user mailing list