deploying two projects in tomcat that needs connection to database with different URL
===

In my project a servlet has to connect to database _(derby)_.I build my project into `.war` file.

Now before deploying the project in Tomcat , how do i tell the server the URL of the databsae,JNDI name,driverName etc etc. How do i do this ? I was told to add these into the `context.xml` file. Do i have to create this file myself ? Otherwise there is also a context.xml file in the `conf` directory of tomcat. I have to deploy one more project that also needs to connect to the database but has a different URL. So i think i can't add the details in the `context.xml` file in _conf_ directory.

How do i deploy these two projects ? Do i need to make 2 different `context.xml` files ?