if it is a helper method "factored code" for example then you can just call
it in your bean, the transaction you declare in xml won't apply since there
is no indirection through the container.  You are within the previous call
context and handling.

if it is a "business method" with tx set and all then use the EJBObject
itself.

marc


|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Shahar Solomianik
|Sent: Monday, November 13, 2000 3:12 AM
|To: [EMAIL PROTECTED]
|Subject: [jBoss-User] Can bean invoke its own methods ?
|
|
|Can a bean method invoke another (same bean) method  ?
|not through remote interface ?
|if so, how are transaction handled ?
|
|
|
|
|--
|--------------------------------------------------------------
|To subscribe:        [EMAIL PROTECTED]
|To unsubscribe:      [EMAIL PROTECTED]
|Problems?:           [EMAIL PROTECTED]
|
|



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

Reply via email to