Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Concurrency

The default Enterprise Objects core configuration uses a single thread to perform its operations (not including threads in the Java virtual machine), which means that only a single operation within Enterprise Objects can occur at any given moment. More importantly, however, a single application instance by default has only one access layer stack. This means that each user in a single application instance shares the resources for connecting to, fetching from, and committing data to the application’s data sources with the application’s other users.

If user A initiates a fetch while user B’s fetch is being performed, user A’s fetch must wait until user B’s fetch is done. If user B commits many records to a data source while user A is fetching data from that data source, user B’s commit doesn’t occur until user A’s fetch is done. In an application that services multiple concurrent users, you can see that you’ll likely consider instrumenting multithreading in your Enterprise Objects applications.

This chapter discusses threading in Enterprise Objects, including how to instrument multithreading in an Enterprise Objects Application. It is divided into the following sections:

Contents:

Determining Requirements
Maintaining Thread Integrity




< Previous PageNext Page > Hide TOC


Last updated: 2007-07-11




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice