cancel
Showing results for 
Search instead for 
Did you mean: 

Remove a Session Bean?

Former Member
0 Kudos

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?.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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