In areas where the specification lacks explicitly-defined behavior, it is the responsibility of the vendor to fill in the gaps.
It is the intention of JBoss to support all standards and ensure that applications remain as portable across implementations as possible. Spec 4.3.11 and 4.4, Figure 5 do not dictate that the PreDestroy callback be called on undeployment. In fact, 4.4.3 says: anonymous wrote : The Bean Provider cannot assume that the container will always invoke the PreDestroy lifecycle callback interceptor method(s) (or ejbRemove method) for a session bean instance. Is it possible for you to use "destroy" of an @Service/MBean/Singleton to fulfill your requirements? http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/jboss_extensions.html S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100069#4100069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100069 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user