DevPortal

What is Read Only?


Read only isolation level provides optimization for data marked as read only in the system. Since the data is never changed, no subsequent loads/stores are required once the bean is loaded.

For non-exclusive database access, refresh intervals can be specified using the following property in the pramati-or-map.xml file as:

Use Case Scenario

Read only access of CMP beans can be used when your application can afford to have a little stale information, say, if the bean doesn’t get modified within the application.

Performance Advantage

Concurrent accesses are allowed on a bean. This also saves the time spent on database access. Methods for the Read Only strategy can be transactional.


Related Topics:

© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal