Hi!

Shahar Solomianik wrote:
> Can a bean method invoke another (same bean) method  ?
> not through remote interface ?
> if so, how are transaction handled ?

If you invoke directly, then they are under the tx/security of the first
call. To ensure that the tx and security settings are enforced (and get
logging of call etc.) you should do ctx.getEJBObject().callFoo(), i.e.
through remote interface.

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to