File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How Web Service Module Interact With Ordinary Java Program

 
Hari Dhanakoti
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I trying to have a Java program which runs based on the Socket programming.

In an Java program which acts as a server and a java program communicates with the server for information exchanges.

Now i have a query of handling and running a web service module program to communicate with the existing java programs which is running......

Is there is any way to communicate with the ordinary console application with the web services....
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Client programs interact with web services through creation of requests and receipt of responses. The most common approach uses a HttpURLConnection to address a web service with a known URL - thats why they are called web servicea after all. You certainly do NOT have to do any socket programming of your own - the standard Java library has all you need.

Other possibilities for communication between Java programs include email, java message service, and JINI.

There are plenty of toolkits and tutorials around to help you understand the possibilities and refine your requirements.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic