Calling a Java application from javascript

Posted on 2004-08-27
Last Modified: 2010-03-31
Hi guys,

I am trying to call a standalone java application(not an applet) from an external javascript.
My application works fine as standalone. But I dont know how to call it from an external javascript.  Please help me.

Question by:ParikhPrerak
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 35

Accepted Solution

girionis earned 125 total points
ID: 11915055
You can't do that. BTW why you would like to do that?
LVL 86

Expert Comment

ID: 11915069
Make it an applet then you can
LVL 92

Expert Comment

ID: 11918458
why do you need to call an app from js?
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

LVL 15

Expert Comment

ID: 11918905
The JavaScript language was carefully engineered to make it impossible to do that (code in a webpage should have absolutly no acces to the users filesystem).

Expert Comment

ID: 12036520
There is no way you can call java application from javascript
LVL 92

Expert Comment

ID: 12037146
Isn't that what girionis said?
LVL 35

Expert Comment

ID: 12041676
It is indeed :)

Anyway as long as the user is happy and the answer is valid it does not make much differece.
LVL 35

Expert Comment

ID: 12046162

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
web application structure 18 137
Delete Android all or certain applications data programmatically 9 157
program arguments vs VM arguments 4 60
Java regex 5 22
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question