• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web srvice connect database

 
nouredine bakhtaoui
Greenhorn
Posts: 6
  • 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
Posts: 42968
73
  • 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
  • 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
Posts: 42968
73
  • 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)?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic