Charles O Nutter
10/3/2006 8:49:00 AM
On 10/3/06, Vincent Fourmond <vincent.fourmond@9online.fr> wrote:
> Kenneth McDonald wrote:
> > Yes, but there is a Java plugin capability for Mozilla--I aware of the
> > difference :-). However,
> > I don't have any experience with Java/Mozilla myself, so I don't know
> > exactly how much
> > can be done (and can't check right now, as mozdev.org is down for
> > maintenance.)
>
> As far as I know (but I never wrote Java applets), Mozilla just gives
> a place where Java can display and get user interaction, but that's
> around all. I don't think you can directly interact with the browser
> from within a Java applet. So what you're looking for seems rather
> difficult.
Back in the day there were ways to have Java code access stuff in the
browser, but I don't know what's available now. If some capability
exists, however...
There are a few folks who have worked on getting JRuby running as an
applet. Usually the big sticking points were getting the security
settings right and the fact that most Ruby code depends on loose .rb
files (the standard library) being available on a filesystem
somewhere. We're able to mostly fake that by having the files in
classpath (i.e. packed into a JAR downloaded by the applet) but it's
not perfect. However, it may not take much work to get it to a solid,
usable point. None of us use applets much, so it's not being looked
at...but feel free to give it a shot and report your results :) I'm
sure there are others out there looking for the same thing.
--
Contribute to RubySpec! @ www.headius.com/rubyspec
Charles Oliver Nutter @ headius.blogspot.com
Ruby User @ ruby.mn