At the start of the App. Server/ application, EJB container creates a pool of MDB instances, so on request the create() methods wont be called.
11111) DOES NOT EXIST
a) setMessageDrivenContext() --> after getting the bean instance, sets context object to the bean, to access container level information.
b) ejbCreate() --> to load start up parameters before processing a request, like DB connection.
22222) READY --> onMessage()
a) ejbRemove() --> to remove/close environment variables like DB connection, ready for garbage collection.
e hënë, 18 qershor 2007
Abonohu te:
Posto komente (Atom)
Nuk ka komente:
Posto një koment