my entity bean calls the ff :
ejbCreate() --> i assign values in my bean
ejbStore()
when is ejbLoad called?
Should I be the one to manually call that?
What is the difference between ejbCreate / ejbLoad()?
-
when is ejbLoad called in a BMP entity bean? (1 messages)
- Posted by: Ivy Tan
- Posted on: June 02 2004 22:32 EDT
Threaded Messages (1)
- when is ejbLoad called in a BMP entity bean? by Arun Nair on June 03 2004 06:44 EDT
-
when is ejbLoad called in a BMP entity bean?[ Go to top ]
- Posted by: Arun Nair
- Posted on: June 03 2004 06:44 EDT
- in response to Ivy Tan
when is ejbLoad called?
A: EjbLoad()is called by container in activation process. Container loads the state from DB and sets the instance fields.
Should I be the one to manually call that?
A: you souldnt
What is the difference between ejbCreate / ejbLoad()?
When Client calls EJBHome create(), container calls ejbCreate() then
container calls ejbPostCreate(). Now a records is created in the Datastore (DB) and the returns the remote reference to the caller client.