File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Application Classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Application Classpath" Watch "Application Classpath" New topic
Author

Application Classpath

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I am trying to use the McKoi database for my application. The instruction at the McKoi website says: "If you are embedding the complete Mckoi SQL database engine in to your application then you must include the 'mckoidb.jar' jar archive in your application classpath."

What does the application classpath mean? Does it mean that I have to put the 'mckoidb.jar' under the AppName/WEB-INF/lib directory?
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
If you're writing a web app that's what I'd be doing, unless you want it to be somewhere reachable by all apps ob the server.

Jules
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61206
    
  66

If you are using container-manager connection pooling and the jar file contains the driver, you will need to place it in the container's "common" area. For Tomcat that would we $CATALINA_HOME/common/lib.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Application Classpath