Hi!
Lennart Petersson wrote:
> Hi! Regarding to a previous thread: when a bean has a need to call one
> of its own methods it was suggested to use something like
> getEJBContext().getEJBObject().methodName(...) instead of just calling
> methodName(...) directly. This way will handle TX and user contexts
> correctly. But what is the performance penalty that i have to pay? I
> guess it must be something but how much - is it cheap, affordable or
> very expensive?
It's approximately $100, so it aint that bad.
ehrm.. seriously though, it's pretty cheap. Watch for reentrancy
problems though.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]