Remove stateful EJB bean in client

Posted by palto on Stack Overflow See other posts from Stack Overflow or by palto
Published on 2010-06-08T10:51:12Z Indexed on 2010/06/08 10:52 UTC
Read the original article Hit count: 279

Filed under:
|

I'm currently learning EJB and as I understand when client gets a stateful session bean the server keeps it in memory(or passivates it) until the client removes the bean. Pretty simple, except nowhere I have seen any examples of how the client can actually remove the bean. How do you do that other than shutting down your client application? Or do I just have to implement a reset method in all my stateful beans if I want to start over?

© Stack Overflow or respective owner

Related posts about java

Related posts about ejb3