As research and implementation continue to facilitate high-performance comp
uting in Java, applications can benefit from resource management and predic
tion tools. In this work, we present such a tool for network round-trip tim
e and bandwidth between a user's desktop and any machine running a Web serv
er(not equal). JavaNws is a Java implementation and extension of a powerful
subset of the Network Weather Service (NWS), a performance prediction tool
kit that dynamically characterizes and forecasts the performance available
to an application. However, due to the Java language implementation and fun
ctionality (portability, security, etc.), it is unclear whether a Java prog
ram is able to measure and predict the network performance experienced by C
-applications with the same accuracy as an equivalent C program. We provide
a quantitative equivalence study of the Java and C TCP-socket interface an
d show that the data collected by the JavaNws is as predictable as that col
lected by the NWS (using C), Copyright (C) 2001 John Wiley & Sons, Ltd.