Friday, March 13, 2009

What does a remove method do for different cases of beans? (EJB)

Question :What does a remove method do for different cases of beans? (EJB)
Answer :Stateless Session : Does not do anything to the bean as moving the bean
from free pool to cache are managed by the container depending on load.
Stateful Session: Removes the bean from the cache.
Entity Bean: Deletes the bean (data) from persistent storage

No comments: