title: Calling a java method in Node js
body: <p>I am trying to call a function defined in a java from node js . </p>
  
  <p>Example : </p>
  
  <pre><code>public class A{
   public void show(){
     System.out.prntln("Invoked from Node JS");
   }
  }
  </code></pre>
  
  <p>and a node js file </p>
  
  <pre><code>console.log("In Node JS");
  //define calling A like A a = new A();
  a.show();
  </code></pre>
  
  <p>I may be totally wrong but I am trying to access a java function from node js .</p>