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

wolfc do-not-reply at jboss.com
Fri Aug 4 06:47:54 EDT 2006


I still say some thought is needed.
Here I trick the thread pool into instantiating more objects (and subsequently destroying them). So even the thread pool calls pre destroy. Question remains what to do with that 1 instance that stays in the thread pool on undeploy...
deploy...
  | 12:34:16,108 INFO  [StackedStatelessBean] post construct org.jboss.ejb3.test.wolfc.StackedStatelessBean at 6258e1
  | 12:34:16,109 INFO  [StackedStatelessBean] 2 is invoking next one
  | 12:34:16,112 INFO  [StackedStatelessBean] post construct org.jboss.ejb3.test.wolfc.StackedStatelessBean at fadb88
  | 12:34:16,114 INFO  [StackedStatelessBean] 1 is invoking next one
  | 12:34:16,114 INFO  [StackedStatelessBean] post construct org.jboss.ejb3.test.wolfc.StackedStatelessBean at 183aedf
  | 12:34:16,114 INFO  [StackedStatelessBean] I'm done
  | 12:34:16,114 INFO  [StackedStatelessBean] pre destroy org.jboss.ejb3.test.wolfc.StackedStatelessBean at fadb88
  | 12:34:16,116 INFO  [StackedStatelessBean] pre destroy org.jboss.ejb3.test.wolfc.StackedStatelessBean at 6258e1
  | undeploy...

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

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



More information about the jboss-user mailing list