Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web srvice connect database

 
nouredine bakhtaoui
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
nouredine bakhtaoui
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you for answer
but
i need web service connect and insert in database (mysql)
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)?
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic