I actually checked in the JBoss docs and found out a way to make the entire entity bean read-only,but what I want is a way to call ejbStore only for set methods and not call it when get methods are called on the bean.
Let me know if anyone tried this out.
Thanks in Advace,
Define a isModified() method and a setModified(boolean m) method. And when call setter methods, set the flag t true.