Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23304 > unrolled thread

Run a jar file on remote client machine?

Started bySpreadTooThin <bjobrien62@gmail.com>
First post2013-04-04 09:55 -0700
Last post2013-04-04 13:10 -0700
Articles 11 — 6 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Run a jar file on remote client machine? SpreadTooThin <bjobrien62@gmail.com> - 2013-04-04 09:55 -0700
    Re: Run a jar file on remote client machine? "John B. Matthews" <nospam@nospam.invalid> - 2013-04-04 13:37 -0400
      Re: Run a jar file on remote client machine? SpreadTooThin <bjobrien62@gmail.com> - 2013-04-04 10:51 -0700
        Re: Run a jar file on remote client machine? markspace <markspace@nospam.nospam> - 2013-04-04 11:05 -0700
          Re: Run a jar file on remote client machine? David Lamb <dalamb@cs.queensu.ca> - 2013-04-04 17:05 -0400
            Re: Run a jar file on remote client machine? markspace <markspace@nospam.nospam> - 2013-04-04 14:33 -0700
            Re: Run a jar file on remote client machine? Joerg Meier <joergmmeier@arcor.de> - 2013-04-05 00:34 +0200
          Re: Run a jar file on remote client machine? "John B. Matthews" <nospam@nospam.invalid> - 2013-04-04 17:05 -0400
            Re: Run a jar file on remote client machine? markspace <markspace@nospam.nospam> - 2013-04-04 14:31 -0700
              Re: Run a jar file on remote client machine? "John B. Matthews" <nospam@nospam.invalid> - 2013-04-04 21:25 -0400
    Re: Run a jar file on remote client machine? Roedy Green <see_website@mindprod.com.invalid> - 2013-04-04 13:10 -0700

#23304 — Run a jar file on remote client machine?

FromSpreadTooThin <bjobrien62@gmail.com>
Date2013-04-04 09:55 -0700
SubjectRun a jar file on remote client machine?
Message-ID<730dfde4-b812-4dec-a321-dffa85fdad06@googlegroups.com>
I have a jar file that works well on my local machine, and does what I need it to do.  This jar file reads a directory of images and manipulates them and stores results in a separate directory.

I want to provide a web page to a client that will allow them to process data on their machine using my jar file and my web site / server.

How do I go about doing that?

[toc] | [next] | [standalone]


#23307

From"John B. Matthews" <nospam@nospam.invalid>
Date2013-04-04 13:37 -0400
Message-ID<nospam-75F152.13372304042013@news.aioe.org>
In reply to#23304
In article <730dfde4-b812-4dec-a321-dffa85fdad06@googlegroups.com>,
 SpreadTooThin <bjobrien62@gmail.com> wrote:

> I have a jar file that works well on my local machine, and does 
> what I need it to do.  This jar file reads a directory of images 
> and manipulates them and stores results in a separate directory.
> 
> I want to provide a web page to a client that will allow them to 
> process data on their machine using my jar file and my web site / 
> server.
> 
> How do I go about doing that?

You can deploy your JAR from your server to a client machine using 
Java Web Start: <http://stackoverflow.com/tags/java-web-start/info>

If that's not what you want, I don't understand the question.

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

[toc] | [prev] | [next] | [standalone]


#23310

FromSpreadTooThin <bjobrien62@gmail.com>
Date2013-04-04 10:51 -0700
Message-ID<a6434bb2-8460-47db-ad3b-a490aa12132d@googlegroups.com>
In reply to#23307
Does that run the jar application in a window of the clients browser?
If so then yes that is what I want.

On Thursday, April 4, 2013 11:37:23 AM UTC-6, John B. Matthews wrote:
> In article <730dfde4-b812-4dec-a321-dffa85fdad06@googlegroups.com>,
> 
>  SpreadTooThin <xx62@gmail.com> wrote:
> 
> 
> 
> > I have a jar file that works well on my local machine, and does 
> 
> > what I need it to do.  This jar file reads a directory of images 
> 
> > and manipulates them and stores results in a separate directory.
> 
> > 
> 
> > I want to provide a web page to a client that will allow them to 
> 
> > process data on their machine using my jar file and my web site / 
> 
> > server.
> 
> > 
> 
> > How do I go about doing that?
> 
> 
> 
> You can deploy your JAR from your server to a client machine using 
> 
> Java Web Start: <http://stackoverflow.com/tags/java-web-start/info>
> 
> 
> 
> If that's not what you want, I don't understand the question.
> 
> 
> 
> -- 
> 
> John B. Matthews
> 
> trashgod at gmail dot com
> 
> <http://sites.google.com/site/drjohnbmatthews>

[toc] | [prev] | [next] | [standalone]


#23311

Frommarkspace <markspace@nospam.nospam>
Date2013-04-04 11:05 -0700
Message-ID<kjkf8a$8gc$1@dont-email.me>
In reply to#23310
On 4/4/2013 10:51 AM, SpreadTooThin wrote:
> Does that run the jar application in a window of the clients browser?
> If so then yes that is what I want.
>

With Java Web Start, yes it does run in a window.  I believe you'll need 
a certificate to sign the app with however.


[toc] | [prev] | [next] | [standalone]


#23319

FromDavid Lamb <dalamb@cs.queensu.ca>
Date2013-04-04 17:05 -0400
Message-ID<kjkppj$ool$1@dont-email.me>
In reply to#23311
On 04/04/2013 2:05 PM, markspace wrote:
> On 4/4/2013 10:51 AM, SpreadTooThin wrote:
>> Does that run the jar application in a window of the clients browser?
>> If so then yes that is what I want.
>>
>
> With Java Web Start, yes it does run in a window.  I believe you'll need
> a certificate to sign the app with however.

You don't need to sign the app if you're willing to have Java ask for 
confirmation before just about anything you do, e.g. to open a file. You 
do need to sign if you want all those verification steps to go away. 
Most people seem to want their JWS app to run with full permissions to 
do anything they want to the client machine.

[toc] | [prev] | [next] | [standalone]


#23323

Frommarkspace <markspace@nospam.nospam>
Date2013-04-04 14:33 -0700
Message-ID<kjkrfd$57r$3@dont-email.me>
In reply to#23319
On 4/4/2013 2:05 PM, David Lamb wrote:
>
> You don't need to sign the app if you're willing to have Java ask for
> confirmation before just about anything you do, e.g. to open a file.

I think what you're talking about requires using a special API.  If you 
use the normal one it just throws an error.  I'm assuming he doesn't 
want to re-code his app.


[toc] | [prev] | [next] | [standalone]


#23325

FromJoerg Meier <joergmmeier@arcor.de>
Date2013-04-05 00:34 +0200
Message-ID<cr8vf4f8e9y1.1fk1h9xsp8h2c.dlg@40tude.net>
In reply to#23319
On Thu, 04 Apr 2013 17:05:07 -0400, David Lamb wrote:

> On 04/04/2013 2:05 PM, markspace wrote:
>> On 4/4/2013 10:51 AM, SpreadTooThin wrote:
>>> Does that run the jar application in a window of the clients browser?
>>> If so then yes that is what I want.
>> With Java Web Start, yes it does run in a window.  I believe you'll need
>> a certificate to sign the app with however.
> You don't need to sign the app if you're willing to have Java ask for 
> confirmation before just about anything you do, e.g. to open a file. You 
> do need to sign if you want all those verification steps to go away. 
> Most people seem to want their JWS app to run with full permissions to 
> do anything they want to the client machine.

To be fair, that is only what every single garden variety program runs with
by default.

Liebe Gruesse,
		Joerg

-- 
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.

[toc] | [prev] | [next] | [standalone]


#23320

From"John B. Matthews" <nospam@nospam.invalid>
Date2013-04-04 17:05 -0400
Message-ID<nospam-2A02D0.17053404042013@news.aioe.org>
In reply to#23311
In article <kjkf8a$8gc$1@dont-email.me>,
 markspace <markspace@nospam.nospam> wrote:

> On 4/4/2013 10:51 AM, SpreadTooThin wrote:
> > Does that run the jar application in a window of the clients browser?
> > If so then yes that is what I want.
> 
> With Java Web Start, yes it does run in a window.

Right, but not necessarily in a window of the browser used to 
launch the .jnlp file.

> I believe you'll need a certificate to sign the app with however.

A signed applet can do more, but I don't think it's _required_:

<http://docs.oracle.com/javase/tutorial/deployment/applet/security.html>

Here are some variations:

<https://sites.google.com/site/drjohnbmatthews/subway>

-- 
[Please do not quote signatures.]

[toc] | [prev] | [next] | [standalone]


#23322

Frommarkspace <markspace@nospam.nospam>
Date2013-04-04 14:31 -0700
Message-ID<kjkrac$57r$2@dont-email.me>
In reply to#23320
On 4/4/2013 2:05 PM, John B. Matthews wrote:
>
> A signed applet can do more, but I don't think it's _required_:

The OP says the application reads a directory on the local hard drive; 
he'll need permission of some sort for that.

[toc] | [prev] | [next] | [standalone]


#23333

From"John B. Matthews" <nospam@nospam.invalid>
Date2013-04-04 21:25 -0400
Message-ID<nospam-A24574.21252504042013@news.aioe.org>
In reply to#23322
In article <kjkrac$57r$2@dont-email.me>,
 markspace <markspace@nospam.nospam> wrote:

> On 4/4/2013 2:05 PM, John B. Matthews wrote:
> >
> > A signed applet can do more, but I don't think it's _required_:
> 
> The OP says the application reads a directory on the local hard 
> drive; he'll need permission of some sort for that.

I don't think we know yet if the JAR contains an applet or an 
application. A signed applet can access the local filesystem, but an 
unsigned application can request <all-permissions/>.

I habitually sign everything to detect tampering.

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

[toc] | [prev] | [next] | [standalone]


#23316

FromRoedy Green <see_website@mindprod.com.invalid>
Date2013-04-04 13:10 -0700
Message-ID<mfnrl8hm1ndll80du961sl1rls3j0h8erj@4ax.com>
In reply to#23304
On Thu, 4 Apr 2013 09:55:09 -0700 (PDT), SpreadTooThin
<bjobrien62@gmail.com> wrote, quoted or indirectly quoted someone who
said :

>I want to provide a web page to a client that will allow them to process data on their machine using my jar file and my web site / server.
>
>How do I go about doing that?

You have to get them to download and install it (perhaps using an
installer) Or you can put some Java WebStart around it, or you can
turn it into a signed or unsigned java Applet.

See http://mindprod.com/jgloss/javawebstart.html
http://mindprod.com/jgloss/applet.html
http://mindprod.com/jgloss/installer.html
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Motors make noise, and that tells you about the feelings and attitudes 
that went into it. Something was more important than sensory pleasure -- 
nobody would invent a chair or dish that smelled bad or that made horrible 
noises -- why were motors invented noisy? How could they possibly be 
considered complete or successful inventions with this glaring defect?
Unless, of course, the aggressive, hostile, assaultive sound actually served
to express some impulse of the owner. 
~ Philip Slater (born: 1927 age: 85)
The Wayward Gate: Science and the Supernatural

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web