Hi Cheng,
all correct and theoretically working. But in practice glassfish doesnt GC the stateful EJB for some reason. Even if I redeploy a changed version of the EJB the old one still doesnt run the methode annotated by @PreDestroy. It simply doesnt get destroyed.
How can can I trigger the destruction of the EJB ?
[Message sent by forum member 'swordofdarius' (swordofdarius)]
http://forums.java.net/jive/thread.jspa?messageID=247459