Re: javascript to execute java program



Sister Ray wrote:
Javascripts runs in the browser you won't be able to do that. You
can't call programs in the server on in the client computer from
javascript.

Utter nonsense.

1. Neither programming language, including ECMAScript implementations
like JavaScript, is restricted to the client or the server.

2. If the Java program is an applet, LiveConnect/XPConnect can be used
to access it from JavaScript.

3. If the Java program is a servlet, a HTTP request can trigger it.
HTTP requests can be initiated with JavaScript using an
external API (e.g., DOM or XHR).


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7@xxxxxxxxxxxxxxxx>
.



Relevant Pages

  • Re: Tier3 today - And Flex-it like NASDAQ (*Only better!*)
    ... FlexBuilder, or just working on the FABridge functionality in general, you ... ArrayCollections are completely accessible via the Javascript in ... Broadcasted server to client messages, ...
    (comp.os.vms)
  • Re: newbie question
    ... They also render JavaScript, but that is generally for the purpose ... of handling client-side events on the server. ... Controls as well. ... >> compiling without Visual Studio, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Proposal for Lite Encryption for Login Form without SSL
    ... the form uses javascript to hash the password ... This way the password is not sent to the server ... This would be the equivalent to a public key in public key encryption ...
    (comp.lang.php)
  • Re: Which Is The Better Approach To Working With Javascript?
    ... Server side processing: Web server gets form input, ... the Javascript module, and PHP collects the output for document ... form input processed on the client side and rendered (probably ...
    (comp.lang.php)
  • Re: Visual Studio only debugs javascript in .js files not .aspx fi
    ... An ASPX page is a class that generates HTML ... from the server. ... including any literal JavaScript in the page code, ... is used by the client browser to execute JavaScript on the client side, ...
    (microsoft.public.dotnet.framework.aspnet)