long start = System.currentTimeMillis();
getLog().debug("Starting context lookup speed test");
for (int i = 0; i < getIterationCount(); i++)
{
HelloHome home = (HelloHome)PortableRemoteObject.narrow(
getInitialContext().lookup(HelloHome.JNDI_NAME),
HelloHome.class);
}
long end = System.currentTimeMillis();
getLog().debug("Avg. time/call(ms):"+((end-start)/getIterationCount()));