Re: Is it possible to have local and remote interfaces at the same time?
"Hans J. Prueller" <[email protected]> Tue, 15 Feb 2011 12:02:29 +0100
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Organization | LBS logics GmbH |
| Message-ID | <1297767749.1757.61.camel@smithers> |
hi, we are using local and remote interfaces at the same time for our SLSB's , this is absolutely "Java EE" to have both view. what the "client" of the EJB has to know is whether it wants to lookup the local or the remote view of the EJB, but in the normal case this is implicitly defined! regards, HANS Am Donnerstag, den 10.02.2011, 10:56 +0100 schrieb [email protected]: > Hi! > > We are using Jonas 4.10.9 and are trying to do clustering. For this purpose we > changed our code from using local interfaces to remote interfaces. But now of > course because of remote interfaces every client action is now MUCH slower. We > still didn't manage to have clustering up and running, but we seriously doubt > that clustering is going to make it up! > > a) Do we have to switch to pure remote interfaces for clustering? Is it > possible to have both local and remote interface at the same time? (Like > lookup-methods being smart enough to know if the bean is on local or remote > machine.) > > b) Are both interfaces at the same time possible > 1) in Jonas 4.10.9 ? > 2) in Jonas 5 with ejb2 container? > 3) in Jonas 5 with ejb3 container? > > c) if clustering goes only with remote interfaces, then what is the benefit of > it if the single user performance drops significantly due to the fact that we > are forced to use remote interfaces? > > Thank you, Zoran F.