Hi

I´d like to know how the locking mechanism works for stateful session beans
in jboss, to be more precise imagine I have session bean like this:

TestSB {
        EntityBean bean;

        create(EntityBean bean){
                this.bean = bean;
        }

        doSomeStuff(){  

        
                bean.someStuff()
        }
}

is the bean locked from the create of TestSB until it´s destroyed? locked
during the execution of beans´s methods? locked during the execution of the
TestSB methods? or is it dependent on the transactions properties of TestSB?

if someone could explain how the locking mechanism works or just give me
some pointers to resources I´d appreciate

regards
Roberto

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to