Exactly..my doubt is also the same. I do remember about reentrent code/programs in Operating Systems literature. I really don't know(understand) what does that mean. I would appreciate if any one enlighten us on this.
Thanks,<br />Bhanu<br />SCEA Step-I<br />SCBCD for J2EE 1.3<br />SCJP1.4
This property specifies whether an entity bean instance should allow loop-back call sequences, which are call sequences where one of the bean's methods calls another bean's method which in turn calls a method in the calling bean instance.
It is relevant in case of entity beans with container-managed relationships with each other. The "reentrant" property lets a calling bean to in turn allow loopback call on its methods by the called bean.
Why is it not allowed in Session Bean is explained by Specs:
The container must ensure that only one thread can be executing an instance at any time. Note that a session object is intended to support only a single client. Therefore, it would be an application error if two clients attempted to invoke the same session object. One implication of this rule is that an application cannot make loopback calls to a session bean instance..............