Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It would be less clunky to start the Java application using Java Web Start. This would remove the need to daemonize or install the Java hardware manager.</p> <p>Another alternative is to use a built-in browser inside Java. I supose this is not an option, since you depend heavily on Javascript (I suppose to provide a rich client experience). </p> <p>If you already have to install something on the client machine, why did you make the choice to go with a web application?</p> <p><strong>Talking from experience:</strong> We had a Java EE application which needed to print to PoS printers at the client site. We installed a small "synchronizer" application that connects through SSH and synchronizes all clients files. Afterwards, it loads the JAR and executes the program. This program connects through RMI with the server and subscribes to a JMS queue to receive the print assignments.</p> <p><strong>Applied to your case:</strong> Why not let your Java application connect to the server directly? You can use HTTP, SOAP or even JMS over RMI. You can then launch the hardware command from the server (instead of from the limited JavaScript webbrowser environment). This way, you get tons of features: authentication, buffering of commands, and you can even share hardware between multiple clients.</p> <p>Schematic:</p> <pre><code> &lt;----AJAX------&gt; Web browser ApplicationServer &lt;---HTTP/SOAP--&gt; Java hardware manager application </code></pre> <p>You can launch the Java application using Java Web Start, which allows you to update the application automatically (instead of needing to pass every client a new installer).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload