If you are in a Tomcat environment, you *can* use server configured
datasources.  But, you can also use traditional Java JDBC calls
(Class.forName, DriverManager.getConnection, createStatement(),
executeQuery(), etc.).  The basic JDBC tutorial at Sun will work from
inside of Tomcat.

--- bhw

On Tue, 21 Sep 2004 16:18:20 +0200, Daniel Sánchez Gómez
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm  newbie   of  Web service and I want to do a web service wich
> inserts data into a mysql database
> 
> I  dont't know if I need to configue  server.xml and web.xml files? (I
> work with Tomcat)
> 
> I've  read  jndi-datasource-examples-howto.html,  but  it's  a servlet
> example and I don't know if it is identical to a simple webservice
> 
> --
> Regars,
>  Daniel                          mailto:[EMAIL PROTECTED]
> 
>

Reply via email to