I am wondering, why would you not use a DAO, for my own reasons, since there are questions on user list regarding JDBC, when I think DAO should be used (unless people using DAO just have no problems) and not JDBC; like why would once decide to use JDBC? (vs SQL based DAO like iBatis for example; but any DAO is much better than JDBC).
.V
Eric SCHULTZ wrote:
Good afternoon...
I've looked around this list a bit and read the web sites (Tomcat, Struts) and I know a bit about class loaders, but I'm still perplexed.
The blank Struts 1.1 app WEB-INF/lib has a bunch of jar files in, some overlap with Tomcat 4.1.27's common/lib directory (namely the commons libraries collections, dbcp, logging, and pool).
This leaves commons digester, fileupload, lang, and validator uniquely in the WEB-INF/lib, along with struts.jar, struts-legacy.jar, and jakarta-oro.jar.
As I understand struts.jar needs to remain in the WEB-INF/lib directory; I assume struts-legacy.jar should stay there too. But can all my commons jars go in the common/lib directory? Should those not already in common/lib go in shared/lib?
I realise some people advocate putting everything the app needs in its WEB-INF/lib directory; and I agree with that if I have version dependancies, but I don't. And I already have to put my JDBC drivers in common/lib to use Tomcat's JNDI datasources so I've already started down that path.
Thanks.
Eric Schultz.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

