Re: running jar files from web. - Tomcat?

From: Hal Rosser (hmrosser_at_bellsouth.net)
Date: 05/31/04

  • Next message: Piotr Galuszkiewicz: "Looking for 6. edition of "Core Java 2 vol.1 - Fundamentals""
    Date: Mon, 31 May 2004 00:21:33 -0400
    
    

    "NNTP" <news8080@yahoo.com> wrote in message
    news:110fc16.0404121126.1152c727@posting.google.com...
    > I have a jar file that I am running from my PC and it works fine when
    > I launch it with the following command.
    >
    > I type 'java -jar test.jar' and it brings up a window and does what
    > its supposed to do.
    >
    > but the problem is that only I can access it this way, I want other
    > people on the network accessing this as well and so I want to run it
    > from within a webpage so people can click on something and it will
    > bring up same window on their desktop.
    >
    > is this doable with java embedded in html or do I need tomcat or
    > something?
    >
    > anyone?

    I'm no expert, but running within a browser implies running an applet, with
    all its restrictions.
    The applet can access files on the server , but is very limited on the
    client side.
    hope this gives you some direction

    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.690 / Virus Database: 451 - Release Date: 5/23/2004
    

  • Next message: Piotr Galuszkiewicz: "Looking for 6. edition of "Core Java 2 vol.1 - Fundamentals""

    Relevant Pages

    • Re: running jar files from web. - Tomcat?
      ... > I have a jar file that I am running from my PC and it works fine when ... > I launch it with the following command. ... The applet can access files on the server, but is very limited on the ...
      (comp.lang.java.programmer)
    • Re: running jar files from web. - Tomcat?
      ... > I have a jar file that I am running from my PC and it works fine when ... > I launch it with the following command. ... The applet can access files on the server, but is very limited on the ...
      (comp.lang.java.softwaretools)
    • Re: [SLE] PID file for java process?
      ... "java -jar jarfile.jar" launches the program, ... You can unpack a JAR file using either the "jar" command or the zip, ... interactively or via a shell script. ...
      (SuSE)
    • Re: Image applet with NetBeans IDE
      ... It often takes people 2-4 weeks to get their first applet working. ... 5-12 weeks to make a jar file. ... ClassNameIsEveryWordCapital, methodNameIsAllButFirst(), ... Longer class names are better than short, so perhaps ImageMorph ...
      (comp.lang.java.help)
    • Re: JAR! . . .What is it good for?. . .Absolutely nothing :-)
      ... Rather than a Java programmer problem, this ended up a "Writing a WebServer ... I had told Interenet Explorer that I only speak "http 1.0" I had ... I took out the loop and shutdown the socket immediately after the JAR file ... a switch on the JAR creation of on the Applet declaration? ...
      (comp.lang.java.programmer)