What are difference between the Statefull Session and Entity Bean?

Both Statefull Session Bean  and  Entity Bean undergo passivation and activation. The  Entity Bean have a separate ejbStore() callback for saving state during passivation and a separate ejbLoad() callback for loading state during activation. We do not need these callbacks for Statefull Session Bean because the container is simply uses object serialization to persist Statefull Session Bean fields.


Enter your email address to get our daily JOBS & INTERVIEW FAQ's Straight to your Inbox.

Make sure to activate your subscription by clicking on the activation link sent to your email