Re: ANNOUNCE: Inline::Java 0.21

[email protected] ("B. K. Oxley \(binkley\)") Mon, 14 May 2001 14:56:13 -0500
Newsgroups perl.jpl,perl.inline
Organization The Oxley Family
Message-ID <[email protected]>
From: "Brian Ingerson" <[email protected]>

> I had an idea for Inline::Java. Let's say that you had an Inline
wrapper
> class inside a Perl module. You should be able to make a distribution
> (easy with the new Inline 0.40 features) and distribute the module to
> various people. Then you could run a server script on one machine and
> have the others use your Inline::Java based module remotely:

Two comments:

1. This scares the hell out of me for security.  Suddenly, Java's
sandbox won't catch remote code (if I understand your example), and will
let it run with the priveleges of local code.  Very bad for the guys in
white hats.

2. Won't the performance bite?  Would the module be compiled locally,
and run from there afterwards, a kind of cache, or would it need to
refetch the compiled code each time from the server?


Cheers,
--binkley