James Selvakumar’s Blog

March 12, 2008

Connecting to a database from a java web application

Filed under: java,jsp/servlets — James @ 5:14 pm
Tags: , , ,

In these days of numerous java frameworks, we often forget or don’t care about some simple things. Though this post might not be very interesting to most of you, it might help some of those to whom this might be the information they are looking for. So bear with me.

Pre-requisites:

– Latest version of Tomcat (currently 6.0.16)

– A database 🙂 (In my case, it’s mysql 5.0)

– Appropriate jdbc “driver” jar file for your database. (In my case, it’s mysql jdbc driverr)

(more…)

Advertisements

Create a free website or blog at WordPress.com.