aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes Stateful session bean and callback methods Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Stateful session bean and callback methods" Watch "Stateful session bean and callback methods" New topic
Author

Stateful session bean and callback methods

Anurag Narayan
Ranch Hand

Joined: Jul 14, 2008
Posts: 41
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
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

Joined: Jul 14, 2008
Posts: 41
Thanks Vikram.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stateful session bean and callback methods
 
Similar Threads
Stateful session bean
Session Bean Stateful life cycle
TimerService in EJB 3
j2ee,java Q's
Bean's management methods...