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


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

tools for programming applets

Started byhoros22 <ed.peschko@gmail.com>
First post2011-05-20 14:43 -0700
Last post2011-05-26 16:37 +0000
Articles 10 on this page of 90 — 19 participants

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


Contents

  tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-20 14:43 -0700
    Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-21 09:57 +1200
      Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-20 18:27 -0400
      Re: tools for programming applets "Richard Maher" <maher_rj@hotspamnotmail.com> - 2011-05-21 08:56 +0800
      Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-20 21:28 -0400
        Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-22 11:11 +1200
      Re: tools for programming applets markspace <-@.> - 2011-05-20 18:31 -0700
      Re: tools for programming applets "Nasser M. Abbasi" <nma@12000.org> - 2011-05-21 12:15 -0700
        Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-22 11:15 +1200
        Re: tools for programming applets Tom Anderson <twic@urchin.earth.li> - 2011-05-22 14:35 +0100
          Re: tools for programming applets Steve Sobol <sjsobol@JustThe.net> - 2011-05-22 08:12 -0700
            Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 12:26 +1200
              Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-22 20:59 -0400
                Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-22 22:01 -0400
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 14:17 +1200
                  Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-22 23:34 -0400
                    Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 18:44 +1200
                      Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-23 09:13 -0400
                      Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-23 10:37 -0400
                        Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-24 20:15 +1200
                          Re: tools for programming applets Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-05-24 07:04 -0300
                            Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 14:14 +1200
                          Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-24 08:10 -0400
                  Re: tools for programming applets Stanimir Stamenkov <s7an10@netscape.net> - 2011-05-24 16:09 +0300
                    Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-26 11:35 +1200
                      Re: tools for programming applets Stanimir Stamenkov <s7an10@netscape.net> - 2011-05-27 00:13 +0300
                        Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 18:50 +1200
                          Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-27 09:55 -0400
                            Re: tools for programming applets Michael Wojcik <mwojcik@newsguy.com> - 2011-05-27 11:31 -0400
                              Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-28 14:35 +1200
                                Re: tools for programming applets Steve Sobol <sjsobol@JustThe.net> - 2011-05-28 12:17 -0700
                                  Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-30 03:26 -0700
                                Re: tools for programming applets Michael Wojcik <mwojcik@newsguy.com> - 2011-06-03 08:19 -0400
    Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-20 18:29 -0400
    Re: tools for programming applets markspace <-@.> - 2011-05-20 16:11 -0700
      Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-20 20:12 -0400
        Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-21 09:10 -0700
          Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-21 12:55 -0400
            Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-22 05:18 -0700
              Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-22 08:37 -0400
              Re: tools for programming applets markspace <-@.> - 2011-05-22 05:58 -0700
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 12:34 +1200
                  Re: tools for programming applets markspace <-@.> - 2011-05-22 18:11 -0700
                    Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-22 22:06 -0400
                      Re: tools for programming applets markspace <-@.> - 2011-05-22 20:26 -0700
                  Re: tools for programming applets "John B. Matthews" <nospam@nospam.invalid> - 2011-05-22 21:31 -0400
                    Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 14:14 +1200
                Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-23 08:31 -0700
                  Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-23 12:08 -0400
                    Re: tools for programming applets Silvio <silvio@moc.com> - 2011-06-19 14:43 +0200
                  Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 14:13 +1200
              Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-22 17:39 -0400
          Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-22 15:38 +1200
            Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-22 05:24 -0700
              Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-22 08:41 -0400
              Re: tools for programming applets markspace <-@.> - 2011-05-22 05:43 -0700
                Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-22 08:53 -0400
                  Re: tools for programming applets markspace <-@.> - 2011-05-22 06:15 -0700
                    Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-23 08:38 -0700
                      Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-23 12:17 -0400
                        Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-24 05:22 -0700
                          Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-24 08:38 -0400
                            Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-24 06:33 -0700
                              Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-25 12:06 +1200
                                Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-26 05:54 -0700
                                  Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 00:57 +1200
                                    Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-26 09:04 -0400
                                      Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-26 06:12 -0700
                                        Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-26 09:28 -0400
                                        Re: tools for programming applets Steve Sobol <sjsobol@JustThe.net> - 2011-05-26 14:47 -0700
                                  Re: tools for programming applets Martin Gregorie <martin@address-in-sig.invalid> - 2011-05-26 13:51 +0000
                                    Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-26 07:38 -0700
                                      Re: tools for programming applets Martin Gregorie <martin@address-in-sig.invalid> - 2011-05-26 15:23 +0000
                                      Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 14:10 +1200
                                    Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 14:11 +1200
                                      Re: tools for programming applets Martin Gregorie <martin@address-in-sig.invalid> - 2011-05-27 14:47 +0000
                            Re: tools for programming applets Steve Sobol <sjsobol@JustThe.net> - 2011-05-24 10:07 -0700
                      Re: tools for programming applets markspace <-@.> - 2011-05-23 11:27 -0700
              Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 12:23 +1200
                Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-23 08:50 -0700
                  Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-24 14:45 +1200
                  Re: tools for programming applets Andrew Thompson <andrewthommo@gmail.com> - 2011-05-25 03:46 -0700
                    Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 14:12 +1200
    Re: tools for programming applets Roedy Green <see_website@mindprod.com.invalid> - 2011-05-21 09:31 -0700
    Re: tools for programming applets "Richard Maher" <maher_rj@hotspamnotmail.com> - 2011-05-22 08:05 +0800
      Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-22 05:30 -0700
        Re: tools for programming applets markspace <-@.> - 2011-05-22 06:05 -0700
    Re: tools for programming applets Silvio <silvio@moc.com> - 2011-05-24 12:30 +0200
      Re: tools for programming applets Michael Wojcik <mwojcik@newsguy.com> - 2011-05-26 14:29 -0400
    Re: tools for programming applets Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-05-26 16:37 +0000

Page 5 of 5 — ← Prev page 1 2 3 4 [5]


#4510

FromLawrence D'Oliveiro <ldo@geek-central.gen.new_zealand>
Date2011-05-24 14:45 +1200
Message-ID<irf641$qd6$2@lust.ihug.co.nz>
In reply to#4463
In message <3c7d8f50-df8e-4198-
a06f-265bd57b9610@s41g2000prb.googlegroups.com>, horos22 wrote:

>In message <irc9es$58p$1@lust.ihug.co.nz>, Lawrence D'Oliveiro wrote:
>
>> In message
>> <ad83c954-5365-42cf-bbf6-c482d25c7cb3@r35g2000prj.googlegroups.com>,
>> horos22 wrote:
>>
>>> You've GOT to be kidding me.
>>
>> Microsoft?? No, YOU’RE the one kidding me.
> 
> 95% of the people running your code are running microsoft browsers and
> microsoft java implementations. Do you *not* test your applet against
> all of these, especially for gui presentation?

I don’t bother with applets, so your question is moot.

> Rsync is useless if you aren't running your development client on the
> same os as the server ...

But why deliberately use a platform that makes development more difficult? 
Wouldn’t you rather save yourself some work?

And what happened to the much-trumpeted Java claim of “write once, run 
everywhere”?

> ... or if you are using licensed code anywhere.

All the code I use is “licensed”. Only most of it happens to be Free 
Software, which means the licence allows free copying.

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


#4568

FromAndrew Thompson <andrewthommo@gmail.com>
Date2011-05-25 03:46 -0700
Message-ID<3ffc84ea-e33b-47c5-8f8d-fd74d91eea3e@17g2000prr.googlegroups.com>
In reply to#4463
On May 24, 1:50 am, horos22 <ed.pesc...@gmail.com> wrote:
>..95% of the people running your code are running microsoft browsers and
> microsoft java implementations. ..

The last Microsoft 'Java' implementation I am aware of was the MSVM
that claimed to support 1.1.4.  Sun sued them over it.  Sun one.

That was all a *long* time ago.  Which millennium are you trapped in?

--
Andrew T.
http://pscode.org/

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


#4630

FromLawrence D'Oliveiro <ldo@geek-central.gen.new_zealand>
Date2011-05-27 14:12 +1200
Message-ID<irn19v$b7q$3@lust.ihug.co.nz>
In reply to#4568
In message
<3ffc84ea-e33b-47c5-8f8d-fd74d91eea3e@17g2000prr.googlegroups.com>, Andrew 
Thompson wrote:

> Which millennium are you trapped in?

Funny, in this noisegroup, I get that feeling all the time. :)

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


#4386

FromRoedy Green <see_website@mindprod.com.invalid>
Date2011-05-21 09:31 -0700
Message-ID<82qft6ducn1vhjig0t0fgeper044mq7srj@4ax.com>
In reply to#4364
On Fri, 20 May 2011 14:43:04 -0700 (PDT), horos22
<ed.peschko@gmail.com> wrote, quoted or indirectly quoted someone who
said :

>I was looking to do some quick java development of applets. Here's my
>situation:
>
>1. I have a static server (ie: that I cannot touch) which serves my
>client data (and applets).
>2. a bare-bones client programming setup (vim and java compiler)
>
>What I was hoping to do, therefore, is hijack the applets that are
>coming from the server, and replace them with my own, compiled ones,
>and hook the browser in such a way that when the applet is asked for,
>my applet fires instead (hopefully in debugging mode) using the data from the server as input.
>
>Surely this is a common enough situation that there are standard
>firefox plugins to do this..
>
>Or is it? In any case any, help on this would be most appreciated.

So you need to set up an alternate website, with your Applets on it.
You then need to server some webpages with <APPLET tags that refer to 
your Applets.  It sounds like you want to ignore the original website
entirely? no?  Perhaps your applets could set some GET requests to the
orginal website if they wanted information from it.  See
http://mindprod.com/products1.html#HTTP
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
How long did it take after the car was invented before owners understood 
cars would not work unless you regularly changed the oil and the tires?
We have gone 33 years and still it is rare to uncover a user who 
understands computers don't work without regular backups.

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


#4395

From"Richard Maher" <maher_rj@hotspamnotmail.com>
Date2011-05-22 08:05 +0800
Message-ID<ir9k0j$43r$1@speranza.aioe.org>
In reply to#4364
"horos22" <ed.peschko@gmail.com> wrote in message 
news:028d2009-98b7-43a3-b02d-83eaa89db79e@glegroupsg2000goo.googlegroups.com...
> All,
>
> I was looking to do some quick java development of applets. Here's my
> situation:
>
> 1. I have a static server (ie: that I cannot touch) which serves my
> client data (and applets).
> 2. a bare-bones client programming setup (vim and java compiler)
>
> What I was hoping to do, therefore, is hijack the applets that are
> coming from the server, and replace them with my own, compiled ones,
> and hook the browser in such a way that when the applet is asked for,
> my applet fires instead (hopefully in debugging mode) using the data from 
> the server as input.
>
> Surely this is a common enough situation that there are standard
> firefox plugins to do this..
>
> Or is it? In any case any, help on this would be most appreciated.
>
> Thanks much,
>
> Ed

Hi Ed,

Is the Applet codebase URL different the HTTP webserver (even if the point 
to the same IP). While testing then why not just get whatever clients/users 
that are involved to put a localhosts entry for the codebase?

Regards Richard Maher 

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


#4411

Fromhoros22 <ed.peschko@gmail.com>
Date2011-05-22 05:30 -0700
Message-ID<34a39063-043f-4f49-8fd8-944d2d795af5@l2g2000prg.googlegroups.com>
In reply to#4395
On May 21, 5:05 pm, "Richard Maher" <maher...@hotspamnotmail.com>
wrote:
> "horos22" <ed.pesc...@gmail.com> wrote in message
>
> news:028d2009-98b7-43a3-b02d-83eaa89db79e@glegroupsg2000goo.googlegroups.com...
>
>
>
>
>
>
>
>
>
> > All,
>
> > I was looking to do some quick java development of applets. Here's my
> > situation:
>
> > 1. I have a static server (ie: that I cannot touch) which serves my
> > client data (and applets).
> > 2. a bare-bones client programming setup (vim and java compiler)
>
> > What I was hoping to do, therefore, is hijack the applets that are
> > coming from the server, and replace them with my own, compiled ones,
> > and hook the browser in such a way that when the applet is asked for,
> > my applet fires instead (hopefully in debugging mode) using the data from
> > the server as input.
>
> > Surely this is a common enough situation that there are standard
> > firefox plugins to do this..
>
> > Or is it? In any case any, help on this would be most appreciated.
>
> > Thanks much,
>
> > Ed
>
> Hi Ed,
>
> Is the Applet codebase URL different the HTTP webserver (even if the point
> to the same IP). While testing then why not just get whatever clients/users
> that are involved to put a localhosts entry for the codebase?
>
> Regards Richard Maher

I guess I could use a little more detail here since I really am not
familiar with applet development or programming. Do you have a good
pointer to a decent resource on the subject, say for setting this up
with apache?

My client that I'm going to be working on is totally separate from the
server. Hopefully, I'm going to be doing development locally, and
then, when done, uploading the code changes to the server. If there is
a simple applet directive that I could put in a test page that could
take the code from localhost and run it against data that is hosted on
the server, then that is exactly what I need.

Ed

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


#4417

Frommarkspace <-@.>
Date2011-05-22 06:05 -0700
Message-ID<irb1nt$8fg$1@dont-email.me>
In reply to#4411
On 5/22/2011 5:30 AM, horos22 wrote:

> I guess I could use a little more detail here since I really am not
> familiar with applet development or programming.


What kind of programming are you familiar with?  It might help us point 
out where things are different.


> Do you have a good
> pointer to a decent resource on the subject, say for setting this up
> with apache?


Start here, especially the part about deploying an applet:

<http://download.oracle.com/javase/tutorial/deployment/applet/>


> My client that I'm going to be working on is totally separate from the
> server. Hopefully, I'm going to be doing development locally, and
> then, when done, uploading the code changes to the server. If there is
> a simple applet directive that I could put in a test page that could
> take the code from localhost and run it against data that is hosted on
> the server, then that is exactly what I need.


There really isn't.  I need to turn this around and ask: what "data" are 
you trying to pull from the server?  SQL?  Raw files?  Some other 
network protocol, SOAP perhaps?  Something else entirely?

I think we need to get beyond this "simple directive" nonsense and try 
to deal with the actual problem.  Direct routes are often the most simple.


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


#4521

FromSilvio <silvio@moc.com>
Date2011-05-24 12:30 +0200
Message-ID<4ddb88aa$0$49180$e4fe514c@news.xs4all.nl>
In reply to#4364
On 05/20/2011 11:43 PM, horos22 wrote:
> All,
>
> I was looking to do some quick java development of applets. Here's my
> situation:
>
> 1. I have a static server (ie: that I cannot touch) which serves my
> client data (and applets).
> 2. a bare-bones client programming setup (vim and java compiler)
>
> What I was hoping to do, therefore, is hijack the applets that are
> coming from the server, and replace them with my own, compiled ones,
> and hook the browser in such a way that when the applet is asked for,
> my applet fires instead (hopefully in debugging mode) using the data from the server as input.
>
> Surely this is a common enough situation that there are standard
> firefox plugins to do this..
>
> Or is it? In any case any, help on this would be most appreciated.
>
> Thanks much,
>
> Ed

Sounds like a strange request but whatever.

Why don't you run a local proxy (apache comes to mind but even 
Tomcat/Jetty would do) for the site with some special rules to serve the 
applet from where you have it and to replace the sites DNS with its 
actual IP. Then map the DNS to localhost in /etc/hosts or 
/Windows/System32/drivers/etc/hosts. Has worked fine with almost any 
site for me in the past.

Silvio

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


#4612

FromMichael Wojcik <mwojcik@newsguy.com>
Date2011-05-26 14:29 -0400
Message-ID<irmgi902gdn@news4.newsguy.com>
In reply to#4521
Silvio wrote:
> 
> Why don't you run a local proxy (apache comes to mind but even
> Tomcat/Jetty would do) for the site with some special rules to serve the
> applet from where you have it and to replace the sites DNS with its
> actual IP. Then map the DNS to localhost in /etc/hosts or
> /Windows/System32/drivers/etc/hosts. Has worked fine with almost any
> site for me in the past.

Was this really the only post in this interminable thread to suggest a
proxy?

To the OP: Look at your problem this way. You want a server you
control, so you can test your applet. You want the applet to be able
to request resources from that server. You don't want to duplicate the
production server.

So set up your local server to serve the applet from a local resource,
and to proxy everything else from the production server. A server can
provide some content without being the origin server for that content.
(HTTP specifies a number of proxying modes to solve problems like
this; see RFC 2616.)

The applet needs non-HTTP resources from the production server? Proxy
those as well. There are any number of generic TCP proxy utilities
floating around. I often use the TcpTunnel utility from the old Apache
Java SOAP toolkit, mostly because I've had it lying around for years
and there's been no reason to find or write another one, for this purpose.

Personally, I'd go ahead and duplicate the origin server, or a subset
of it, because that's usually the best option, for all the reasons
that have already been mentioned in the thread. But proxying is a
viable alternative.

-- 
Michael Wojcik
Micro Focus
Rhetoric & Writing, Michigan State University

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


#4604

FromAndreas Leitgeb <avl@gamma.logic.tuwien.ac.at>
Date2011-05-26 16:37 +0000
Message-ID<slrnitt0dm.phi.avl@gamma.logic.tuwien.ac.at>
In reply to#4364
horos22 <ed.peschko@gmail.com> wrote:
> I was looking to do some quick java development of applets. Here's my
> situation:
> 1. I have a static server (ie: that I cannot touch) which serves my
> client data (and applets).
> 2. a bare-bones client programming setup (vim and java compiler)
> What I was hoping to do, therefore, is hijack the applets that are
> coming from the server, and replace them with my own, compiled ones,
> and hook the browser in such a way that when the applet is asked for,
> my applet fires instead (hopefully in debugging mode) using the data
> from the server as input.

If the static server is *not* using https, you could create some proxy
(transparent or not) that would intercept the requests for the applet-code
but pass through all the rest.

It seemed to me on overreading the thread, that this type of operation
was not intended by design, so it's *likely* (but not necessarily) so,
that no easier way exists.

There *may* even exist ways for an https-site, but I won't delve into
that.  I might perhaps want to visit the USA some time in future and not
get arrested for some DMCA-BS applied to a triviality.  It's just, that
if some web-developer stumbles over this thread, he should under no 
circumstances come to believe, that "client side security" with applets
was anything else than utter insecurity.

[toc] | [prev] | [standalone]


Page 5 of 5 — ← Prev page 1 2 3 4 [5]

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


csiph-web