Re: Swing and JDBC

From: Sam Varshavchik <mrsam(at)courier-mta(dot)com>
To: "Dennis R(dot) Gesker" <dennis(at)gesker(dot)com>
Cc: psql <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Swing and JDBC
Date: 2002-08-12 23:12:29
Message-ID: courier.3D5840DD.0000028C@ny.email-scan.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dennis R. Gesker writes:

> Now I'm considering reworking our database applications (currently in
> MS-Access) using Java but I'm looking for a small application that uses
> Swing & JDBC that can give me an idea of the best practices using these 2
> different parts of the API together. I of course intend to use Postgres
> for the back end but I think that the Java would be the way to go for the
> front end.

There's nothing particular about the combination of Swing and JDBC that
introduces a unique set of "best practices" that do not already apply to
either Swing, or JDBC; separately or in any combination with other APIs.

I do happen to have a fairly large (but feature-incomplete) Swing
application that uses postgresql-jdbc; but it's doubtful that anyone would
be able to identify some particular "best practice", of any kind, looking at
the source. In fact, the Swing and JDBC components are completely and
totally separate -- one of the options is to run the Swing UI component as a
browser applet, which makes RMI calls to the server where the JDBC component
handles the RMI calls. This would probably be the only kind of a "best
practice", if there is one at all -- to keep the two components completely
separated from each other, and use an intermediate API to communicate back
and forth.

--
Sam

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Wall 2002-08-12 23:37:04 Re: Swing and JDBC
Previous Message Dennis R. Gesker 2002-08-12 22:17:06 Swing and JDBC