On Mon, Jan 08, 2001 at 11:24:44AM +0100, [EMAIL PROTECTED] wrote:
>  
> "Code: 
>     Runtime r = Runtime.getRuntime(); 
>     Process p = r.exec(" java myClass "); 
> 
> Works but is awfully slow. Any insights? "
> 
> Why not use something like:
> 
> String[] args={"a","b"};
> com.abc.ClassName.main(args);
> 
> instead? Then you don't have to fork off a new process.
> /korre
> 
 
In a risk of repeating myself I reiterate my question (maybe with better
english): 

When username and password information is sent to server via initialcontext it is 
permanent within the virtual machine right?

Now in order to *change* that information I will have to kill virtual machine
with system.exit() right?

Problem with this is that I have to close the whole darn application
just to change erroneus user/passwd information which can't be right.

Forking a new virtual machine in a new process seems to work because I
can always kill it without quitting my application but speed is not
excactly breathtaking.

Thank you for your patience :)
-- 
        Marko Viirelä, T&K-harjoittelija
        Sonera Operator Systems
        Email:          [EMAIL PROTECTED]
        Puhelin:        040-5456970

Reply via email to