Wrox Home  
Search P2P Archive for: Go

  Return to Index  

enterprise_java_beans thread: EJBs and performance


Message #1 by cathylou@v... on Tue, 5 Dec 2000 15:58:16 -0000
Trade off between : AppServer Vs EJBPerformance
small explanation

It can be better explained by taking the Concurrency support (for Optimistc
as well as Pessimistic ) provided by diff App server Vendors. Weblogic
provides support for Pessimistic Concurrnecy only whereas Oracle,Inprise and
Gemstone Provides support for Optimistic Concurrency which infact enhances
entity EJB performace. Note the question of Portability should also be taken
into account in this case. For wherever Appservers providing support only
for pessimistic concurrency there should be custom logic in fact extra code
to be written to take care of optimistic Concurrency. Else there will be
Exceptions thrown,stale data and dirty read problem would occur.
Hope this explains a little better on the tradeoff.
Cheers,
Suresh

----- Original Message -----
From: "Cathy Dudley" <cathylou@v...>
To: "Enterprise Java Beans" <enterprise_java_beans@p...>
Sent: Friday, December 08, 2000 8:58 AM
Subject: RE: EJBs and performance


> Hi all,
>
> Just another minor note on the subject - don't forget to verify which
> version of the EJB spec you are compliant with.  Not all servers are
> compliant with the latest EJB version.  Also, I would recommend full debug
> when you port.  I do so with all my Java programs.  I know that it is
> supposed to be "write once, run many", but I have found that subtle
> differences in VM implementations can cause unexpected behaviour at a very
> fundamental level.
>
> Cathy D.

  Return to Index