We were wondering if anyone has seen a large increase in latency with EJB3 beans over EJB2x beans. We ran a test on two hosts, connected by gigabit ethernet, running Lunux 2.6.19 and JBoss4.0.5GA and found the following results:
[img]http://www.atl.external.lmco.com/projects/QoS/jwalsh/ejb+jtcp.png[/img]
These results are both using stateless beans. The server bean contains a function that takes a byte array as a parameter, thus allowing us to send various sizes of data. This function is then called sequentially 1e6 times by a client program which records the RTT each iteration. Is there this much overhead using POJOs?
Thank you for any thoughts,
-Jonathan Walsh
Apparently image posting is not working for me, so here is a link:
http://www.atl.external.lmco.com/projects/QoS/jwalsh/ejb+jtcp.png