On Wed, 16 Sep 1998 13:57:27 -0700, Lukas Hazlehurst wrote:
>
>>> Is java on linux reliable enough to run on a box by itself for a
>>> considerable period of time, or would C be more appropriate ?
>>
>>I have had NO PROBLEMS with Linux Java for server software. I've had
>>some problems with AWT-related stuff, but that's... well, the Java
>>burden at this point in time.
>
>That was my suspicion, avoiding a pretty UI would make for a more reliable
>service. The UI would be provided via the network from another machine so
>it wouldn't matter if that fell over.
Actually, I would think that the UI would be generated at the client
machine anyway.
>>Also, for non-AWT apps, you can compile with TowerJ to full-blown native
>>code.
>
>
>This would be a definite plus. Could i assume that as the compiled code is
>not running under a jvm etc it would be more reliable ?
I would not say that. I can not talk about TowerJ but there are some
benefits to running within the JVM. Now, you are limited to the quality
of the JVM but it has been run by and used by many people on many
platforms and so much of the core is very well tested. The code generator
for any compiler can easily have bugs in it just like the JVM can.
However, the number of cases the code generator may have to deal with
could be far greater (especially if it does complex optimizations).
So, while the JVM could be the weekest link in a server-side Java
program, compiling to native code does not mean that it will be more
reliable, just that the types of problems and the way they manifest
themselves may change (and the ease and manner in which they are tracked
down.)
Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz