Re: [INTERFACES] a JDBC applet

From: "Andrew R(dot) Jackson" <ajackson(at)dezines(dot)com>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] a JDBC applet
Date: 1998-07-09 15:25:17
Message-ID: 4.0.1.19980709111313.00e26920@pop.total.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

At 04:49 PM 09/07/98 +0200, Cyril FERRAND wrote:
> I look for an example of a Java applet to communicate with a
>postgresql base via JBDC. Because I have a lot of pb with my own one.
>A example like basic.java example is ok.

I have a general question related to this connecting to the DB via applet: would this require the applet user's domain to be in the pg_hba.conf file? I couldn't successfully run basic.java (one of the examples) locally here and have it connect to Postgres at school without doing this first.

If one wants an applet that can run anywhere to have access, then you'd have to set up Postgres not to only accept connections from certain domains, but all domains, right? I could be way off here since I am a lowly Postgres *user*, and most docs/discussion speak to people who have Postgres admin/config abilities, which is unfortunate.

Anyway, my approach to the applet-Postgres issue is a client-server one. Applets are clients that connect to a server running on the same machine running the Postgres stuff which mediates the database connection. This will keep the sysadmin people happy :) At least at my school...

Andrew

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter T Mount 1998-07-09 16:58:44 Re: [INTERFACES] java.lang.OutOfMemoryError
Previous Message Byron Nikolaidis 1998-07-09 15:21:40 Re: [INTERFACES] Memo field in MS Access