[1431] in java-interest
Re: Third Party Library Loading
daemon@ATHENA.MIT.EDU (JD Brennan)
Fri Sep 1 20:18:29 1995
Date: Fri, 1 Sep 1995 14:55:55 -0700
From: JD Brennan <brennan@symbologic.com>
To: java-interest@java.sun.com
In-Reply-To: <53053208@toto.iv>
Reply-To: JD Brennan <brennan@symbologic.com>
Matt Cline writes:
> > I am currently working on an applet that will allow
> > searching into a Sybase database. Originally I created the
> > applets using native methods to call the database library
> > calls and things were working ok. But I have been told that
> > this is not a solution because for anyone to use the applet I
> > will have to download the sybase library onto thier machine,
> > since it is dynamically loaded for them to use the applet. Is
> > this true? If so how do I get around it. It is impossible for
> > me to distribute database libraries and would like my search
> > commands to come from the client if possible.
>
> I was wondering the same thing about making applets that for some reason
> have to use a native method. Anyone who wanted to use it would have to
> download the class with the native methods in it to their machine, which
> is inconvienient, and is also insecure, since the native methods can
> do pretty much anything. I had an idea of a way to solve this; it's
> probably a bad idea, but here it is anyways:
I think a better way to deal with this would be to create a socket in
your Java applet to communicate with your server running on your host.
Then all the Java code is written in Java and is secure. You don't
have to worry about distributing other code or libraries or anything.
JD Brennan
[brennan@symbologic.com Symbologic Corp., Seattle, WA]
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com