users@glassfish.java.net

EJB 3: _at_Remove in Stateless Session Bean

From: <glassfish_at_javadesktop.org>
Date: Wed, 05 Nov 2008 02:31:01 PST

I developed a EJB 3's stateless session bean. The session bean have bussiness method is getTime() and a method called finished with @Remove annotation. At client side, i called the method but the session bean was not removed from EJB Container.
   my code
      astatelessBean.getTime();
      astatelessBean.finished();
      astatelessBean.getTime(); // Do not throws exception here
Why?
Is the @Remove annotation in Stateless SB not affected?
[Message sent by forum member 'jblackcat_ht' (jblackcat_ht)]

http://forums.java.net/jive/thread.jspa?messageID=314961