Originally posted by Anna Madhusudhanan Natanagopalan:
Then when will we get the transactional context (at the time of ejbActivation).
Well,
not at the time of activation. You have a valid transactional context only during the execution of a business method. ejbActivate is not a business method. That being said, I would assume you need a transactional context during ejbLoad, but that method again is not a business method.
I've never needed to do anything in ejbActivate, and honestly I cannot think of what you'd want to do there that you couldn't do inside a business method. Can you (or the OP) give us the problem you're trying to address? Maybe there's another way to solve it.