[1393] in java-interest
Re: Third Party Library Loading
daemon@ATHENA.MIT.EDU (Patrick Simpson)
Thu Aug 31 18:01:16 1995
Date: Thu, 31 Aug 1995 12:11:22 -0800
To: java-interest@java.Eng.Sun.COM, mtw@felix.kodak.com (Mary White)
From: psimpson@qualcomm.com (Patrick Simpson)
>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.
>
>Thanks for any help in advance.
>
>
>Mary White
>-
>Note to Sun employees: this is an EXTERNAL mailing list!
>Info: send 'help' to java-interest-request@java.sun.com
You should try using a client / server paradigm here. In which your client
processes communicate with a server via the network interface classes. Then
the server process could spawn threads to handle dynamically the clients
requests. This solves the problem of requiring the clients to have access
to native functions, because only the server is processing the commands in
the Sybase database and thus requires the sybase libraries. I'm working on
the same type of problem except I'm using Oracle. If you have any other
questions let me know.
Patrick Allen Simpson
Qualcomm Inc
6455 Lusk Blvd.
San Diego, CA 92121-2779
ph: (619) 658 4071
fax: (619) 658 2230
email: psimpson@qualcomm.com
office: Q-205-O
*/* The opinions expressed within are mine and do not necessarily reflect
*/* those of my Employer.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com