aspose file tools*
The moose likes Web Services and the fly likes web srvice connect database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "web srvice connect database" Watch "web srvice connect database" New topic
Author

web srvice connect database

nouredine bakhtaoui
Greenhorn

Joined: Jun 06, 2013
Posts: 6
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
Marshal

Joined: Mar 22, 2005
Posts: 42273
    
  64
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?


Ping & DNS - my free Android networking tools app
nouredine bakhtaoui
Greenhorn

Joined: Jun 06, 2013
Posts: 6
thank you for answer
but
i need web service connect and insert in database (mysql)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42273
    
  64
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)?
 
Don't get me started about those stupid light bulbs.
 
subject: web srvice connect database