tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Weiss" <Swe...@aamc.org>
Subject Re: JSP Newbie Q: mySQL & Tomcat/Jakarta
Date Thu, 01 Jun 2000 19:29:49 GMT
Probably the only thing you *need* is a JDBC driver, one is available here:

 http://www.worldserver.com/mm.mysql/  (there may be others too, but I've been using this
one)

You could come up with a number of architectures:

  JSP -> JDBC -> database
  JSP -> servlet -> JDBC -> database
  JSP -> servlet -> RMI server -> JDBC -> database

to name a few. In any case, it's good to use some sort of connection pooling so that db connections
can be re-used. You can write your own or find one on the internet.

-Steve

Stephen A. Weiss       Association of American Medical Colleges
(202)828-0428       mailto:sweiss@aamc.org   http://www.aamc.org

>>> caclark3@students.wisc.edu 06/01/00 12:48PM >>>
I'm looking to use Tomcat to serve jsp pages that interact with a 
mySQL database. What is a sample configuration? Do I need middle 
layers of software/drivers to interact between the two?

Thank you to anyone who can shed a little light on the overall setup?

Tony

--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org 
For additional commmands, email: tomcat-user-help@jakarta.apache.org 



Mime
View raw message