1 Reply Latest reply: Feb 11, 2013 3:12 PM by jsmith RSS

    online web to print tool in javafx

    990235
      Hey

      we have developed a tool in java fx, structs and gwt . There are many tools available in flash and jquery . But the problem is when ever the tool is open in the browser , it wwill ask to run and download java .... tool is working fine... but how can we aviod this??????/ iis there any way to people can use tool with out java downloading ???????? Most of people not have java in thier system .... how can we solve this problem

      ex. for printing tool

      http://118.139.176.180/alsuwaidi/painter/index.jsp?id=1&printType=1

      pls give us a solution.....
        • 1. Re: online web to print tool in javafx
          jsmith
          we have developed a tool in java fx . . . is there any way to people can use tool with out java downloading ?
          No, not really - you need an appropriate Java runtime on the client to be able to use JavaFX.

          Same is true of Flash (user needs a flash runtime installed to use it) and a jQuery/GWT app (user needs an html runtime - i.e. a browser - installed to use it). The difference with flash and especially html runtimes is that a user is much more likely to have an up to date version of those runtimes on their computer than a recent java runtime and (unlike recent java distributions) they also allow execution of unsigned code in a sandbox without a security warning, etc.

          You might want to look into packaging your tool as a self-contained application rather than embedding it inside a browser.

          With a self-contained application you can include the runtime with your application, so that a user does not need to download it separately.
          There are pros and cons of both approaches, as discussed in the deployment documentation:
          http://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm