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
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: 39548
    
  27
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 - updated with new look and Ping home screen widget
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: 39548
    
  27
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)?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web srvice connect database
 
Similar Threads
Web Srevices with Database
how many ways do two java program communicate?
doubt in web service composition
Webservice Responses
How to call webservice using Servlet give the sample code