Re: JDBC PostgreSQL 7.1.2

From: Doug McNaught <doug(at)wireboard(dot)com>
To: Peter Maas <pm(at)mrinfo(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: JDBC PostgreSQL 7.1.2
Date: 2001-06-14 17:40:29
Message-ID: m3r8wnm036.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Maas <pm(at)mrinfo(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Frank Miles 2001-06-14 19:02:08 Re: problem connecting from another host
Previous Message Peter Maas 2001-06-14 17:17:40 JDBC PostgreSQL 7.1.2