in Technology by (1.9m points)

What is Stateful Session Bean in EJB?

1 Answer

0 votes
by (1.9m points)
A stateful session bean is a type of enterprise bean which preserve the conversational state with client. A stateful session bean as per its name keeps associated client state in its instance variables. EJB Container creates a separate stateful session bean to process client's each request. As soon as request scope is over, statelful session bean is destroyed.