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?
Joined: Jun 06, 2013
thank you for answer
i need web service connect and insert in database (mysql)
Joined: Mar 22, 2005
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)?