RE: Ways of loading the JDBC Driver (was RE: ) - Mailing list pgsql-interfaces

From Peter Mount
Subject RE: Ways of loading the JDBC Driver (was RE: )
Date
Msg-id 1B3D5E532D18D311861A00600865478CF1B4F4@exchange1.nt.maidstone.gov.uk
Whole thread Raw
In response to Ways of loading the JDBC Driver (was RE: )  (Peter Mount <petermount@maidstone.gov.uk>)
List pgsql-interfaces
Ah, that is why I've not heared of that way before this morning.

Also, I rarely use -Djdbc.driver any how.

PS: I just remembered another one: Putting the .jar file name in the
manifest of the application's .jar file. I know that one works for
applications, but not sure of the others.

Peter

-- 
Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount@maidstone.gov.uk
WWW: http://www.maidstone.gov.uk
All views expressed within this email are not the views of Maidstone Borough
Council


-----Original Message-----
From: Gunnar R|nning [mailto:gunnar@candleweb.no]
Sent: Monday, November 06, 2000 2:56 PM
To: Peter Mount
Cc: 'George Koras'; pgsql-interfaces@postgresql.org
Subject: Re: Ways of loading the JDBC Driver (was RE: [INTERFACES])


Peter Mount <petermount@maidstone.gov.uk> writes:

> I'm going to rewrite the README file shortly so I'll add this one in.
> 
> So far, the various ways of loading the driver are:
> 
> WAGS    Method
> ---------------------------------------------------
> .XX.    Adding the .jar file into CLASSPATH
> .AX.    Using -Djdbc.driver parameter on command line
> .XXX    Place a copy of the .jar file into the jre/lib/ext directory
> ...X    Place .jar file into wrapper.classpath parameter in jserv.properties
> Xnnn    Merging the .jar file contents with the applet's classes
> nnnn    Extracting the .jar file contents and not using any .jar files at
> all
> 
> Where:
>   W    Applets through a web browser/server
>   A    Applications only (not AppletViewer)
>   G    Applications (also Applets through AppletViewer)
>   S    Servlets
> 
> 
> Have I missed any out?
> 

Well, technically there is no difference between the servlet case and the
application case. You can start up JServ with the -Djdbc.driver argument,
allthough I wouldn't recommend it.

Apache JServ is only one example of how configuration is done. The new
servlet APIs have better deployment specification than what you find in 2.0
API that JServ implements.

Regards, 
Gunnar    


pgsql-interfaces by date:

Previous
From: Gunnar R|nning
Date:
Subject: Re: Ways of loading the JDBC Driver (was RE: )
Next
From: Joseph Shraibman
Date:
Subject: Re: