This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 41137
    
  45
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: 41137
    
  45
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
How to call webservice using Servlet give the sample code
Webservice Responses
doubt in web service composition
how many ways do two java program communicate?
Web Srevices with Database