connect java web service mysql

connect java web service mysql

I need to create a web service in Java using Eclipse. My requirement is to connect to a database with that web service and retrieve some values. WebService with database Mysql

Connecting to a DB from a WS isn't different than connecting to a DB from any other Java class. What particular problem are you facing?

thank you for answer
but
i need web service connect and insert in database (mysql) 
 
What do you mean by "but"? What particular problem are you facing? Why do you think connecting to a DB from within a WS would be any different than connecting to a DB from any other class (which I assume you have done successfully)?

Copyright © 2007-2012 www.chuibin.com Chuibin Copyright