| |
GeekInterview.com > Interview Questions > J2EE > EJB
| Print | |
Question: What is the difference between ejbstore and ejbload?
|
| July 07, 2009 05:21:33 |
#4 |
| AkshataShriyan |
Member Since: July 2009 Total Comments: 1 |
RE: What is the difference between ejbstore and ejbload? |
They are call back methods.
They are used to notify ejb beans of the state.
Called at the boundaries of the transaction.
Whenever tx.begin(), ejbload() is called to notify beans of data being refreshed
Whenever tx.commit, ejbstore() is called to notify beans that data is being persisted |
| |
Back To Question | |