File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Web Service with database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Web Service with database" Watch "Web Service with database" New topic

Web Service with database

antonio rodriguez ayuso

Joined: Apr 23, 2004
Posts: 14
Hi to all.

I have developed a Web Service that is deployed in Tomcat. I need that this service use a database, which have made with SQL Server and deployed in my servant SQL Server. I have connected it with JDBC and ODBC of Windows, but it does not work.

I don?t know if it is good.

Can I deployed this database in Tomcat??. How can make it?

I hope somebody can help me.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Moving to the Tomcat forum.

GenRocket - Experts at Building Test Data
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Have you tried reading the documentation?

Tomcat 4.1 JNDI Datasource HOW-TO
Tomcat 5.0 JNDI Datasource HOW-TO

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: Web Service with database
It's not a secret anymore!