Two Laptop Bag*
The moose likes EJB and other Java EE Technologies and the fly likes How much performance local interface better than remote interface? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How much performance local interface better than remote interface?" Watch "How much performance local interface better than remote interface?" New topic
Author

How much performance local interface better than remote interface?

Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
How much performance local interface better than remote interface?


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Shrinivas Mujumdar
Ranch Hand

Joined: Aug 27, 2004
Posts: 328
RMI layer is bypassed so there is no Serialization & Deserialization of data (Marshalling/Unmarshalling)..

In RMI....Objects are passed by value but in this case they are effectively passed by reference.

I hope this helps..

Point No. 1 is where you get performance boost....Although there is a difference of opinion about the usage of Local Interfaces.


Shrinivas
Consta Chertakovsky
Greenhorn

Joined: Feb 23, 2006
Posts: 4
We've provided performance measurement of transaction duration with RMI and local, after consolidation of JVM and move to local we got 20% overall performance improvement


enjoy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How much performance local interface better than remote interface?
 
Similar Threads
Entity Relationships
Local vs Remote EJB's in clustered environment
EJB entity beans with both local and remote interface
Patterns in Sequence Diagram
EJB Newbie