RSS Feed for This PostCurrent Article

Java RMI Connection Pooling – RMI versus Web Service Call

I was doing some benchmarking using Java RMI and JBoss Rule 4.0 to compare the native Java RMI call against the performance of Web service call.

As the result of of testing, I found that without any RMI connection pooling, the performance of using RMI is almost the same as using Web service call. This is because both need to establish connection, whether it is Java or Web service call.

Attached is sample RMI connection pooling class that I have been using in my tests.

RMI Connection

Trackback URL

Sorry, comments for this entry are closed at this time.