WAS v8.5 > End-to-end paths > EJB applicationsUse access intent policies for EJB 2.x entity beans
We can use access intent policies to help the product runtime environment manage various aspects of EJB persistence.
You apply access intent policies to EJB v2.0 and 2.1 entity beans, and their methods, using an assembly tool. A set of default access intent policies comes with the assembly tool. The Rational Application Developer product provides supported assembly tools. Entity beans are not supported in EJB 3.x modules.
- Apply default access intent to CMP entity beans. For more information, see the online help available with the assembly tools.
- Apply access intent policies to methods of container managed persistence entity beans.
Subtopics
- Access intent policies for EJB 2.x entity beans
An access intent policy is a named set of properties or access intents that govern data access for EJB persistence. We can assign policies to an entity bean and to individual methods on an entity bean's home, remote, or local interfaces during assembly. We can set access intents only within EJB v2.x-compliant and later modules for entity beans with CMP v2.x.- Applying access intent policies to beans
We can apply an access intent policy to an application's entity beans through the assembly tool.- Configure read-read consistency checking with an assembly tool
Read-read consistency checking only applies to LifeTimeInCache beans whose data is read from another transaction. WAS v8.5 checks the data is consistent with the data store, and ensures that it is not updated after checking for access intents that are repeatable read (RR).- Access intent service
Access intent is an application server runtime service that enables you to precisely manage an application's persistence.- Applying access intent policies to methods
You apply an access intent policy to a method, or set of methods, in an application's entity beans through the assembly tool.- Use the AccessIntent API
This task describes how to programmatically retrieve and call the AccessIntent API during the execution of bean managed persistence (BMP) entity bean methods.- Access intent exceptions
The following are exceptions that occur in response to the application of access intent policies.- Access intent troubleshooting tips
The following frequently asked questions involving access intent are answered.
Related
Tasks: Application profiling