I would expect most vendors do optimizations like this.  Optimized calls
between EJBs still incur the cost of processing transaction and security
attributes so they are more expensive than a simple call to a Java class,
but it's much less than what is involved in a remote call.

Cheers

-----Original Message-----
From: Krishnan Subramanian [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 8:03 AM
To: [EMAIL PROTECTED]
Subject: Re: If the EJBs are on the local machine will it avoid making
remote calls?


Hi Samuel.

I believe that depends on your vendors implementation of
RMI/IIOP and/or CORBA implementation.

For eg: I do know that with the Borland AppServer
or VisiBroker for that matter, when you run things
on in the same JVM, communication i.e. lookups
and (so called) RPCs will have the same overhead
as local calls. Also marshalling/unmarshalling will
be avoided between EJB's in the same process (or
JVM)

But i guess you have to consult your vendor's doc
for precise details.

-krish

----- Original Message -----
From: Samuel Abraham <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2001 11:48 AM
Subject: If the EJBs are on the local machine will it avoid making remote
calls?


>

===========================================================================
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".

===========================================================================
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".

Reply via email to