From: Andrew R. Jackson <ajackson@dezines.com>
To: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] a JDBC applet
Date: Thu, 09 Jul 1998 11:25:17 -0400
Message-ID: <4.0.1.19980709111313.00e26920@pop.total.net> (raw)
In-Reply-To: <35A4D860.2B8E21D8@iutsoph.unice.fr>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: ajackson@dezines.com
Subject: Re: [INTERFACES] a JDBC applet
In-Reply-To: <4.0.1.19980709111313.00e26920@pop.total.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox