Activities and JITA

Components that use JITA are required to be accessed by one client at a time. If two clients could call a JITA component simultaneously, one would be left stranded when the object was deactivated at the time the first method call returned. COM+ enforces synchronization on components that use JITA. The Concurrency tab for components that have JITA enabled will only allow you to set your component to Required or Requires New. In other words, the component must share the activity of its creator or require a new activity. The other options are disabled on the Concurrency tab. Once you disable JITA, you can set synchronization to other values.

Get COM & .NET Component Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.