This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Application Classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 63227
    
  69

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]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Application Classpath
 
It's not a secret anymore!