> 3) pass the entity bean to the helper object via the 'this' keyword. This
> would mean that I dont have to make the bean 'reentrant', and from a
> performance perspective would most likely be the fastest approach. 
> 
> In the 3rd approach, since the entity bean's implementation would only be
> passed to the helper object during an EJB callback method (hence the
> container would inhibit any other concurrent methods calls on the bean), and
> the helper object is a local java object - I'm wondering how this approach
> would interfere with the services that the container provides??
> 
> 
Ok, this is really no different than the bean method's implementation calling
its own methods which is not considered a reentrant call. In this case passing
this is fine.



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

Reply via email to