Received: from gemini.cybersurf.net (root@gemini.cybersurf.net [209.197.128.8]) by hub.org (8.8.8/8.7.5) with ESMTP id OAA22601 for ; Thu, 16 Jul 1998 14:21:50 -0400 (EDT) Received: from cybersoft.ab.ca (pc19.cybersurf.net [209.197.128.39]) by gemini.cybersurf.net (8.8.7/8.8.7) with ESMTP id MAA12677; Thu, 16 Jul 1998 12:21:42 -0600 Message-ID: <35AE4540.BB5C6407@cybersoft.ab.ca> Date: Thu, 16 Jul 1998 12:24:00 -0600 From: Dallas Hockley Organization: Cybersoft Communications Software Inc. X-Mailer: Mozilla 4.05 [en] (Win95; U) MIME-Version: 1.0 To: Jeffrey Napolitano CC: Interface to PostgreSQL Subject: Re: [INTERFACES] "static" libraries? References: <35AE3E10.E6BEE86B@setech.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.... Good Luck. Dallas Dallas Hockley hockleyd@cybersoft.ab.ca