2 Replies Latest reply on Oct 8, 2004 2:26 PM by bobby abraham

    Read-only method calls on Session Bean

    bobby abraham Newbie

      I have been unable to establish the sematics associated with a method level read-only = true attribute on a session bean. (Contained within jboss.xml)

      ie


      <ejb-name>XXXXXXXXXX</ejb-name>
      <method-attributes>

      <method-name>get*</method-name>
      <read-only>true</read-only>

      </method-attributes>


      Are objects used with this method call locked ?

      My understanding of the same attribute on entity beans is that they are not locked for the entire transaction but merely for the duration of the method call.

      Do I have this right ?

      thank you

      bobby abraham