db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join

TA and NQ Enhancement Example

This project was developed by db4o team to show the functionality of db4o enhancement tools. The idea of the enhancement tools is to use bytecode instrumentation to inject the code necessary for TA and NQ optimization into ready customer classes. More information about it can be found in the Reference documentation.

The example shows both loading time and build time enhancement strategies and is used to implement Transparent Activation awareness in custom classes and optimize Native Queries.

In order to use this example you will need to download the latest development version of db4o.

You can start by looking into tatest.TATestMain class, which contains the runnable code for the example. Persistent classes are located in  tatest.model package. tatest.TATestStarter contains the code for loading time enhancement and should be reviewed in order to understand what is happening when a build-time (build.xml) enhancement is used.

Download:

EnhancementExample.Zip (Details)
Download (29.2kB)

About This Page

Title: TA and NQ Enhancement Example
Moderated By:
Created: 11-07-2007, 04:40 PM
Modified: 11-07-2007, 04:47 PM
Last Modified By: German Viscuso
Revision Number: 2

Attachments Attachments

Wiki