1)What exactly do we mean when we say that stateful session bean maintaines the session? Does it mean that,like in servlets a value can be found throughout the time I have opened the browser?What will happen if I instantiate a stateful session bean, set a value,goes to some other bean in the application,comeback to the same bean;insantiate it again;will I get the value I set up last time?
2)Can we explicitly call the callback methods(which are generally called by the server) like ejbRemove(),ejbLoad(),ejbStore()?
3)In a stateful session bean when does the server call the ejbRemove()method?
Anurag Narayan<br />SCJP5,SCEA(OCMJEA)
vikram veera
Ranch Hand
Joined: Dec 26, 2000
Posts: 43
posted
0
Hi ,
You can go to the below URL to find more info on EJBs.This will details you what is ejb and its lifecycle.