This content has been marked as final.
Show 1 reply
-
1. Re: Session EJB and Entity
goebelg Apr 21, 2005 4:07 AM (in response to warx_sg)Hi,
I don't know how it exactly works but I made the experience with other J2EE Application servers that in order to do load balancing over all the ejb containers in the cluster, it is better to have a remote interface because then a new entity bean can be created in an other ejb container than the session bean which creates the entity bean.
But normally when ther is only a local interface for the entity bean, the entity bean must be created in the same ejb container where the session bean is executed.
So I don't know about the exception but this could be a reason, but I AM NOT SURE
Georges