Skip to Content.
Sympa Menu

freetds - Re: preparedStatement problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Stefan Bodewig <bodewig AT bost.de>
  • To: <freetds AT franklin.oit.unc.edu>
  • Subject: Re: preparedStatement problem
  • Date: 03 Aug 2000 14:47:20 +0200


>>>>> "JS" == Jon Strande <jstrande AT microserve.net> writes:

JS> 1.) why use a jar file on a server side application?

You don't need to. You will only get into trouble with a server side
application that wants to compile your sources (like a JSP engine) if
it finds them.

Just unjar everything into a "classes" dir and point your server to
it. In Tomcat's case there is some kind of .../classes for those and
.../lib for JARs AFAIK.

JS> 2.) when the snapshot zip files are built, why aren't they packed
JS> with correct directory paths so that I can unzip it to my root
JS> com directory and just run: javac
JS> com\internetcds\jdbc\tds\*.java.

historical reasons?

JS> When I download a zip, all I do is extract the source, copy the
JS> files to the correct directories and compile.

This is not the same world I live in, sorry. For most non Java
applications I use (this is Linux here) it goes more or less like

extract
./configure --horrendous amount of options
make
make test
make install

For most Java projects this is similar, just drop configure (and
replace make with ant if using jakarta projects).

JS> 3.) if you do this, and then add \com\ to your classpath, OR copy
JS> the class files over to your WEB-INF\classes directory you can
JS> start TOMCAT without having to start it in a source directory.

Bill got into trouble _because_ he started Tomcat from the source
directory, I think you've got it the wrong way around.

Stefan




Archive powered by MHonArc 2.6.24.

Top of Page