[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DB Methods



On Wed, 29 Dec 1999, Jared P. Elliott wrote:
> Is their any example code on how to optimize the oldcars part of the
> tutorial.

Look into the mail list archive. There was a discussion about the "old cars"
some time ago.

You may also look at the samples/XML/Store.java. The idea is to put code that
frequently accesses database object in one method of a database object. Then
the code is executed within the server in one single transaction. This will
speed up things and in most cases leads to better designed code because the
piece of code that frequently accesses (the same) database object actually
*is* a transaction and so shit should be written in one method because there is
no explicite transaction demercation in ozone yet.


Falko
-- 
______________________________________________________________________
Falko Braeutigam                         mailto:falko@softwarebuero.de
softwarebuero m&b (SMB)                    http://www.softwarebuero.de