-
1. Re: Local Interface questions
sgturner Jan 31, 2003 10:20 AM (in response to riekhof)In the same JVM, the web container is along side the ejb container, not one inside the other. When the two containers are running inside the same JVM, there is no difference in performance between using local or remote interfaces since JBoss optimizes the remote calls.
-
2. Re: Local Interface questions
riekhof Jan 31, 2003 12:23 PM (in response to riekhof)Then why would you ever want to use local interfaces?
From my understanding, you would only be removing the flexibility of moving an EJB to a different server, and running the risk of introducing call-by-reference bugs if the ejb was ever moved away from webapp. -
3. Re: Local Interface questions
petertje Feb 1, 2003 8:41 AM (in response to riekhof)> Then why would you ever want to use local
> interfaces?
In order to use container managed relationships. The EJB spec says these can only be used with local interfaces.
> From my understanding, you would only be removing the
> flexibility of moving an EJB to a different server,
> and running the risk of introducing call-by-reference
> bugs if the ejb was ever moved away from webapp.
I totally agree.