We have a linux server behind a firewall, with JBoss 4.2 GA. All clients are remote on the internet, with ADSL connections. One network is behind a firewall, and there are simple connections, too.
Now I measure the times of EJB roundtrips on a simple connection. Normally they are around 200 ms, which is acceptable. But quite often this time is up to 4-5 seconds (a simple EJB call with little to do!), and not too much network traffic on the client and server networks.
Have others experienced this? Do ports 1098,1099,3873 suffer from some kind of bad priority? What can be done?