see the docu on read-only entities and CMP fields
Unfortunately, the EB (entity beans) I was talking about don't have only read methody, they have update methods also, so I can't apply "read-only" attibutes on the entire bean.
I need to know If I can make only some of the methods of a EB not to wait until posibily other TXs that are locking the EB have finished.
And If u know a solution, It would be appeciated any examle.
yes you can, see Dain's CMP docu
I tested in jboss-3.0.3 and the <read-only> tag at method level has no effect. This tag is not even in the jboss_3_0.dtd file. It seems that it's in jboss_3_1.dtd of jboss 3.2beta
Did you try to set a transaction attribute other than required to your read-only method?
How about supports or nerver as a work around.