Charles Paclat wrote:
> Ian McCallion wrote:
>
> >-Not so. Two transactions concurrently accessing the same logical entity bean
>
> >instance will get two in-memory copies of the instance.
>
> Is this in the EJB spec, or is it an implementation detail?
Good question. Bean providers should code assuming it (indeed they could hardly
do otherwise without thread sync facilities), so it should be quite explicit in
the spec, but all I can find is section 3.1.1 in the 1.0 and 1.1 specs which
says "The Bean Provider is not required to be an expert at system-level
programming. Therefore, the Bean Provider usually does not program transactions,
concurrency..." This IMPLIES that what I said is true but it doesn't exactly
come right out and say it, does it!
Does any vendor care to stand up and say their server DOESN'T do it? Any
comments from Sun?
Ian McCallion
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".