• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to write a service to connect to MySql?  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sample code or links??
The procedure is no different from the standard approach to database connectivity from within java.
 
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
If you're gonna buy things, buy this thing and I get a fat kickback:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!