Dennis,
Have a look at persistence layers, www.ambysoft.com
or www.castor.org
In general you don't want your client accessing the db directly.
Dave
On Mon, 2002-08-12 at 18:17, Dennis R. Gesker wrote:
> Could someone on this list point me toward a simple but illustrative
> application built in Swing that uses JDBC (perferrably Postgres JDBC).
>
> I've been using the JDBC driver on Apache/Tomcat/Linux to generate web
> reports reading records from postgres and it has been working great.
>
> 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.
>
> I've found alot of examples for either Swing or JDBC sepearately but
> none showing them together and working efficiently. I expect my
> application will have to support about 20 concurrent users but the
> structure of the database tables will only require a few tables and some
> relatively simple relationships.
>
> Sorry in advance if this is too far off topic but I always seem to get
> really good answers from the folks who monitor this group and figured
> that someone could point me in the right direction.
>
> Dennis
>
> --
> _________
> |~~ @|
> | ==== | Dennis Roman Gesker ICQ: 194047
> | ==== | mailto:dennis@gesker.com Fax: 413.740.4653
> |_________| http://www.gesker.com
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>