For readers who are interested in this topic, I recommend the thread titled:

    Real-world limitations of simplistic optimistic concurrency

Which can be found at:

    http://archives.java.sun.com/cgi-bin/wa?A2=ind0009&L=ejb-interest&F=&S=&P=113913

-jkw

"Jonathan K. Weedon" wrote:

> Cedric,
>
> Actually, I believe you provide the following:
>
>     Exclusive concurrency (pessimistic locking at the container level)
>
> This cannot be used in conjunction with clustering, and is therefore
> an unscalable solution.
>
>     Database based pessimistic concurrency
>
> This can be used with clustering, but is not scalable due to excessive
> locking in the database.
>
>     Database based optimistic concurrency
>
> This corrupts the database, if done without verified updates (this is
> the point that you made yourself, originally).
>
> So, you have a choice between unscalable (pessimistic locking, either
> in an unclustered container, or in the central database) or incorrect
> (due to unverified updates).
>
> If there is a better option, please explain it.  In particular, how do I
> deploy a scalable application (meaning one that uses optimistic
> concurrency) on WebLogic without running the risk of corrupting
> my database (due to a lack of verified updates).
>
> -jkw
>
> Cedric Beust wrote:
>
> > > From: A mailing list for Enterprise JavaBeans development
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan K. Weedon
> >
> > > Is such a feature provided in WL6 using EJB 1.1?  I did not
> > > believe so.
> >
> > No, we provide either Exclusive concurrency (pessimistic at the container
> > level) or Database (pushed to the database, which can be either optimistic
> > or pessimistic depending on your database vendor).
> >
> > None of them corrupt the database (that I know :-)).
> >
> > --
> > Cedric
> >
> > ===========================================================================
> > 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".
>
> --
>                   Jonathan K. Weedon: Architect
>                   VisiBroker, Borland AppServer
>
> Register now for the 12th Annual Borland Conference: July 21-25 in
> Long Beach, California.  BorCon is the best place to learn about award
> winning technologies for implementing e-business.  Register today!
>                  http://www.borland.com/conf2001/
>
> This e-mail, and any attachments thereto, is intended only for use by
> the addressee(s) named herein and may contain legally privileged
> and/or confidential information.  If you are not the intended
> recipient of this e-mail, you are hereby notified that any
> dissemination, distribution or copying of this e-mail, and any
> attachments thereto, is strictly prohibited.  If you have received
> this e-mail in error, please immediately and permanently delete the
> original and any copy of any e-mail and any printout thereof.

--
                  Jonathan K. Weedon: Architect
                  VisiBroker, Borland AppServer

Register now for the 12th Annual Borland Conference: July 21-25 in
Long Beach, California.  BorCon is the best place to learn about award
winning technologies for implementing e-business.  Register today!
                 http://www.borland.com/conf2001/

This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information.  If you are not the intended
recipient of this e-mail, you are hereby notified that any
dissemination, distribution or copying of this e-mail, and any
attachments thereto, is strictly prohibited.  If you have received
this e-mail in error, please immediately and permanently delete the
original and any copy of any e-mail and any printout thereof.

===========================================================================
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".

Reply via email to