Forums Register Login

Doubt in Session beans

+Pie Number of slices to send: Send
HFEJB says in session beans ejbCreate,ejbActivate,ejbPassivate and ejbRemove doesn't not run in transaction context.
It also says to access database and get another beans method you need to be in transaction.
Then it shows that we can access database and get another beans method in ejbCreate,ejbActivate,ejbPassivate and ejbRemove methods.

So i am confuse.
Please help.
Thanks
+Pie Number of slices to send: Send
please help me
+Pie Number of slices to send: Send
Wouldn't that be BMT beans then ?
+Pie Number of slices to send: Send
Agreed with Christophe,

"HFEJB says in session beans ejbCreate,ejbActivate,ejbPassivate and ejbRemove doesn't not run in transaction context."

This is right when the stateful session bean is running under CMT.

"that we can access database and get another beans method in ejbCreate,ejbActivate,ejbPassivate and ejbRemove methods."

This is when the stateful session bean running under BMT.

Regards,

Rajesh
Happily living in the valley of the dried frogs with a few tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 688 times.
Similar Threads
Doubt about transaction context in statefull session Bean
Session bean ejbCreate method
questions?
Unspecified Transaction Context
HFE vs EJB Spec - session beans
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:47:36.