If you do not want to store your counter in a back-end database, then you probably don't want to set up this counter as a CMP field.
Commit-option A caching prevents unnecessary ejbLoad() calls from being performed when you access the field, but it does not disassociate the field from the database.
Thanks for your repply. The issue is also that I want to set the counter as a CMP field or at least I want it to be persisted in db when it stops until it resumes...
So maybe I should persist into a field when the ejbStore()method is called? I will try that...