| Author |
How to write a service to connect to MySql?
|
Nandana Soman
Greenhorn
Joined: Aug 27, 2004
Posts: 3
|
|
Hi, I am working on web services for quite some days now. I want to write a service which connects to MySql database and creates/updates/reads/delete records from a table. Can anyone provide me with a sample code or any links? Thanks in advance. Nandana
|
 |
Dan Harabox
Greenhorn
Joined: Nov 16, 2003
Posts: 7
|
|
Sample code or links?? The procedure is no different from the standard approach to database connectivity from within java.
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
As Daniel already mentioned, the fact that you're using the data for responding to a web service request is irrelevant. Thus, you should post any Java database connectivity related questions to our JDBC forum -- you're much more likely to get answers over there. PS. Daniel, your display name isn't quite compliant with our policy. You can add the required lastname over here. Thanks.
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
 |
|
|
subject: How to write a service to connect to MySql?
|
|
|