You can use application profiling to configure multiple
access intent policies on the same entity bean.
About this task
Application profiling reflects different units of work
that have different use patterns for enlisted entities. Support from
the server runtime can vary for these units of work and use patterns.
For more information, see the topic Application profiling.
Procedure
- Assemble applications for application profiles. See the topic Assembling applications for application profiles to
learn how to configure tasks, create application profiles, and configure
tasks on profiles.
- Manage application profiles. See the topic Managing
application profiles to learn how to add and remove tasks from application
profiles using the administrative console.
- Use the TaskNameManager API. See the topic Using
the TaskNameManager API to learn how to programmatically set the current
task name; use this technique sparingly. Wherever possible, use the
declarative method instead, which results in more portable function.