Обсуждение: JDBC PostgreSQL 7.1.2

Поиск
Список
Период
Сортировка

JDBC PostgreSQL 7.1.2

От
Peter Maas
Дата:
Hi,

Problem: JDBC_Test.class runs as an application on a Linux System
with Java 1.3 but not as an applet, neither on Netscape 4.x nor on
MS IE 5, probably due to old JVMs. Where can I get a JDBC driver
that allows PostgreSQL access via applet on commonly used browsers?
Thanks for your advice.

Regards, Peter.

--
------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
Tel +49-241-93878-0 Fax +49-241-93878-20 eMail pm@mrinfo.de
------------------------------------------------------------------

Re: JDBC PostgreSQL 7.1.2

От
Doug McNaught
Дата:
Peter Maas <pm@mrinfo.de> writes:

> Hi,
>
> Problem: JDBC_Test.class runs as an application on a Linux System
> with Java 1.3 but not as an applet, neither on Netscape 4.x nor on
> MS IE 5, probably due to old JVMs. Where can I get a JDBC driver
> that allows PostgreSQL access via applet on commonly used browsers?
> Thanks for your advice.

The driver is not the problem--it can be compiled and used under JDK
1.1 (which is what most browsers support).  Though I have not looked
at JDBC_Test.java (as a matter of fact it doesn't seem to be in my
7.1.2 source tree), it is most likely using the Swing toolkit, which
is new with the Java 2 platform.

If you compile a 1.1 version of the JDBC driver and write an applet to
the 1.1 API, it should work.

Keep in mind also that there were a lot of new features put into the
JDBC API for Java 2.

-Doug
--
The rain man gave me two cures; he said jump right in,
The first was Texas medicine--the second was just railroad gin,
And like a fool I mixed them, and it strangled up my mind,
Now people just get uglier, and I got no sense of time...          --Dylan