I can't say anything about EJB 2.0 local interfaces, but I can say something
about remote interfaces being called locally versus local Java function
calls.  By "local Java function" call I simply mean one function calling
another inside the same VM (i.e. no EJB intervention).  Using WebSphere
Application Server 4.0, I measured a 10,000:1 difference in peformance
between the two.  Calling a remote interface in the same VM took 10E-4
seconds and a local Java function call took 10E-8 seconds on my PIII 1.0Ghz
box.

Mike Bresnahan
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Duc Nguyen
Sent: Tuesday, April 16, 2002 7:30 AM
To: [EMAIL PROTECTED]
Subject: Remote Interfaces Vs Local Interfaces


Hi,
I am new to EJB I just wondering if any of you have tested the different in
performance between Remote Interfaces and Local Interfaces in CMP Entity
Bean.  If yes what is  the results ratio.

Thanks,
Duc

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