i am new to this topic , i am developing an application using jboss seam framework. i need to develop optimistic lock in my application to restrict end user from concurrency updations of entity objects. while i am googling i got information that @version annotation is useful for this . but i don't know how do i use this @version annotation in entity beans.
so can any one help me in this with some code examples related to this?