For methods that cause a new transaction or ActivitySession to be started either by the container or programmatically by the Enterprise JavaBean (EJB) developer, you can configure an enterprise bean's container-managed tasks to associate requests from the bean with application profiles.
Units of work begun during the execution of a method configured with a task are associated with the task name. If the method is executed under an imported transaction, then the configured task is ignored. For more information about using tasks, see Application profiling tasks and Tasks and units of work considerations .
For a Version 6.0 client to interact with applications run under the Application Profiling 5.x Compatibility Mode, you must set the appprofileCompatibility system property to true in the client process. You can do this by specifying the -CCDappprofileCompatibility=true option when invoking the launchClient command.