Skip to Content

Remove a Session Bean?

Hi,

we have a problem with the memory of our J2EE-Engine.

My question: Do I have to call "remove" after using a stateless Session Bean?

I have created Web Services to access the business methods of the bean.

If a remove is needed, how do I call it?.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 21, 2005 at 10:54 AM

    The EJB container takes care of creating and removing stateless session beans.

    However there is a remove() method for session beans. This is just a hint to the container that you're done with it. The container is not obliged to remove the session bean at that moment. It's the containers responsibility to determine the right moment to remove a session bean.

    Kind regards,

    Peter

    Add comment
    10|10000 characters needed characters exceeded