There is no difference between runs. In the first and subsequent runs, the
client retrieves the initial context like this:
private Context getInitialContext() throws NamingException
{
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
props.put(Context.PROVIDER_URL, "cmtexwebdev:1099");
return new InitialContext(props);
}
The client, however, saves the initial context and then uses it for all the ejb calls
within each run. Each run, however,
retrieves its own initial context using the code above.
The client code is identical for each run; so is the ejb code. The only difference
could be that the first time around, the server and client code is
loaded into memory
and initialized while the second and subsequent times around, cached code might be
used.
Thank you for your help!
Thomas Kirsch
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]