Hey
"Frank D. Greco" wrote:
> >My guess is that Seerangan meant what advantage EJB has over RMI.
> >
> >Seerangan, RMI and EJB are not competing techniques; EJB uses RMI for
> >communication between the client and the EJB server.
>
> I was under the impression that EJB is independent from the
> connection technology. EJB probably prefers RMI, but why can't
> you use CORBA/IIOP to talk to an EJB server? Or sockets?
> or even non-Java?
This has got to be one of the oldest misunderstanding in Java. You are
referring to the underlying protocol/engine, which could be JRMP, IIOP,
sockets (which is used in JRMP and IIOP, but anyway), but RMI is not
such an engine. RMI is a interface for distributed programming in Java.
EJB has been built on top of RMI, which is natural since EJB is about
distributed components in Java.
What you are referring to in your reply is (probably) RMI/JRMP which is
the default implementation of RMI which is provided in the JDK available
from Sun.
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".