Re: Major Swing/Linux Project?

1998-05-28 Thread David Wilkinson

At 19:05 28/05/98 +, John Mitchell wrote:
>The
>administration of the machine is much better handled through e.g., Java
>servlets running in e.g., Apache on each machine.  You could then support
>either an HTML or a Java applet interface (or both).

Hmm, how would that work? Your servlet is typically running as an
unprivileged user, but it would need to be root to perform most sysadmin
tasks. 

Either the servlet would need to act as a wrapper to some suid programs or
your web server needs to run with root privileges - neither seems
particularly desirable.

I guess you could have a dedicated web server running as root configured
quite tightly to accept only a limited set of requests. I'm not sure how
authentication would work though...

Dave W.




-- 
David Wilkinson http://www.cascade.org.uk/




Re: Swing & Navigator

1998-09-16 Thread David Wilkinson

At 08:59 16/05/98 +0200, Paul V. Drobnich wrote:

>P.S. As for me, Swing-like applets is most slowest browser solution that
>I seen in my life. Try servlets. Of course those not so nice as Swing,
>but more applicable in real life.

Um, servlets and swing address completely separate problem domains. They
aren't typically interchangeable. If you're really having problems with
swing, the only real answer is to stick to the standard AWT.

Dave W.
-- 
David Wilkinson http://www.cascade.org.uk/



Re: Servlets on Linux

1998-07-29 Thread David Wilkinson

At 11:51 29/07/98 -0500, you wrote:
>
>   I just do it and in my case not work  :-(

Try changing:

import java.servlet.*;
import java.servlet.http.*;

to:

import javax.servlet.*;
import javax.servlet.http.*;

Dave W.
-- 
David Wilkinson http://www.avenida.co.uk/
Avenida Technologies Limited