For the purposes of JSR-299, the specified @Remove method of removing instances isn't sufficient (as we have no way to supply the parameters or know which method to call if there are multiple). Therefore, JSR-299 specifies that we should ask the container to remove the EJB instance in a non-portable way:
anonymous wrote : When the destroy() method is called, the container removes the stateful session bean. The @PreDestroy callback must be | invoked by the container. Any suggestions for the API we should call on JBoss EJB3 for this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215947#4215947 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215947 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user