can somebody suggest me, how to implement Optimisticlocking in JBoss. please send me a code examples, andthe deployment descriptor.