Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Calling a Java application from javascript

Posted on 2004-08-27
Medium Priority
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 500 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?
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

661 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