Software and hardware configuration
As in front of the configuration
Outside of the Difference: The previous C # client is changed to the Java client, and the WebService is replaced with EJB to achieve, and other implementation methods are unchanged.
2. Test results
Expendable percentages WebService number of times the time difference between the non-WebService 1.8% 20.078 0.077 0.001 0.113 110.125 200.187 0.153 0.033 0.012 9.6% 17.9% 3.1% 0.007 0.215 300.222 400.275 0.257 800.477 0.422 0.054 0.018 6.5% 11.4% 14.1% 0.081 0.495 1000.576 2001.070 0.920 0.150 14.0% 3001.590 1.391 0.199 12.5% 4002.157 1.810 0.348 16.1% 5002.627 2.234 0.393 15.0% 6003.067 2.630 0.437 14.3% 8004.120 3.559 0.561 13.6% 10005.193 4.385 0.807 15.5% 15007.369 6.265 1.103 15.0% 200010.010 8.525 1.484 14.8% 300014.715 12.427 2.288 15.5% 400019.727 16.407 3.320 16.4.376 3.223 13.1% 800038.881 34.434 4.447 11.4% 1000048.237 40.911477.325 15.2%
3. Conclusion.
It feels that the WebService is more than about 15% of the efficiency of the RMI method than EJB.