• Post Reply Bookmark Topic Watch Topic
  • New Topic

Stateful session bean and callback methods  RSS feed

 
Anurag Narayan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
vikram veera
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

You can go to the below URL to find more info on EJBs.This will details you what is ejb and its lifecycle.

EJB information in developerparadise

Thanks
Vikram
www.developerparadise.com
 
Anurag Narayan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Vikram.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!