Received: from setserv.setech.com (setserv.setech.com [209.61.40.195]) by hub.org (8.8.8/8.7.5) with ESMTP id LAA09375 for ; Tue, 21 Jul 1998 11:08:54 -0400 (EDT) Received: from setech.com (setech.com [209.61.40.194]) by setserv.setech.com (8.8.8/8.8.8) with ESMTP id LAA23355; Tue, 21 Jul 1998 11:07:23 -0400 (EDT) Sender: root@setserv.setech.com Message-ID: <35B4ADF3.5110C2D8@setech.com> Date: Tue, 21 Jul 1998 11:04:19 -0400 From: Jeffrey Napolitano X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.29 i586) MIME-Version: 1.0 To: Peter T Mount CC: Dallas Hockley , Interface to PostgreSQL , peter@retep.org.uk Subject: Re: [INTERFACES] "static" libraries? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit And the application (let's say java_app.jar) can be invoked directly by name? i.e.: /usr/local/bin/java_app.jar ? Thanx > > [email problems within maidstone.gov.uk has delayed this response - > peter] > > On Thu, 16 Jul 1998, Dallas Hockley wrote: > > > Jeffrey Napolitano wrote: > > > > > > I have a Java application which uses JDBC, and it is going to put on a > > > few different machines using postgres and postgres's JDBC driver. My > > > question is this: Is there a method of *including* the JDBC driver into > > > the Java application? An equivalent to statically linking a library in > > > > > > This can be done by "unjarring" the postgresql jdbc driver jar in the > > base class directory of your app/let and then jar'ring the entire > > distribution into one file. The relative class resolution must be > > correct, and it will work.... > > It will work that way. > > The down side to this is that if a newer version of the driver is > released, then you have to rebuild your application jar file. > > -- > Peter Mount (at work) peter@taer.maidstone.gov.uk or peter@maidstone.gov.uk > If you mail me here, please cc my home address peter@retep.org.uk ------------------- Jeffrey Napolitano Lowly Intern Software Emancipation Technology