[MUD-Dev] Java and Javascript

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Fri Jan 30 08:08:51 CET 1998


[Greg Munt:]
:IIRC, Java is useful on the networking side, whilst Javascript is useful
:when you need firm control of the browser itself. Does anyone care to
:supply advantages/disadvantages of each, and what each should be ideally
:used for?
:
:Should I be looking at both Java *and* Javascript, to complement each
:other, or should I concentrate on using just one of them? How much of the
:Java/Javascript functionality does the potential DHTML/DOM standard
:encompass?

I'm not sure what Javascript can do for you that Java can't. From Java
you can open additional windows and frames, have various controls
(buttons, file requesters, etc.), play sounds, display images, etc.
You can also run external programs (if your security settings allow it).
For anything at all expensive in terms of computation, you want to use
straight Java.

--
Chris Gray   cg at ami-cg.GraySage.Edmonton.AB.CA



More information about the mud-dev-archive mailing list