Markus,
>Meybe we all went is the wrong direction:
>
>You have this situation, correct?
>
>Client calls SB.doA(), doA() loads an EB then calls doB() in the same bean
doB loads the same EB.
Yes.
>Maybe this is a bug in JOnAS, since the two methods are running in the same
transaction, they should see the same data - but it seems as if they do not!
So from my point of view, this is a bug.
I don't think so. I think that this is spec. I know Weblogic does the same
thing but they have a deployment option that solves this problem. I have
also heard that other vendors supply this as well.
>Another question is, why doA and doB both load the bean, you just could
call doB with the EB as a parameter, so doB works on the same instance.
Ain't that possible?
Because method B can also be called directly by a client - code reuse, you
know. So method B needs to be able to stand alone. That is why I don't want
to change it transaction attribute.
Hope I am being clear.
Joe Weder
Software Engineer
Intelligent Computer Systems
[EMAIL PROTECTED]
717.295.7977 x614
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".