Hi!

Rickard �berg skrev:
> 
> 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.
---> Is this mentioned in the spec or may it vary between EJB servers?

/Lennart

> 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]

-- 
mailto:[EMAIL PROTECTED]
http://www.benefit.se/english
Or try Yahoo! Messenger, my nickname is: en_grillad_special


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

Reply via email to