File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Why Web Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Why Web Services" Watch "Why Web Services" New topic

Why Web Services

rahul V kumar
Ranch Hand

Joined: May 20, 2003
Posts: 82
I have been reading about Web Services (SOAP, RPC etc) but somehow I am not convinced how the Web Services can be put to practice.
Most of the examples I came across are either Weather, Temprature, Currency , Airline Reservation etc., I dont understand the benefit in making these as Web Services.
Looking forward for your views on this
rahul V kumar
Ranch Hand

Joined: May 20, 2003
Posts: 82
Am I getting this one right ???
For Non-Browser machines, if they want to get weather related information, it would be easier if had a web service running.
What if they dont have a web service running ?? Then I might be forced to use the URL object and what i would be ending up doing is parsing the HTTP response that I got from
2) Say I am hosting two websites from two different machines. One of the websites have Credit card interfaces in them (Using Java Beans). Now I would like to get my other website credit card enabled. How should I go about this ???
a) copy the credit card interfaces on the other box
b) Have a Credit Card Webservice on Box 1 and invoke that from Box 2.
c) I am totally wrong
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
One thing web services make easy is a customized "Portal". Suppose you want to let users create their own view of your web site by adding selected bits - for example, current headlines, weather, stock quotes, etc. - each of these bits can come from a separate web service source but be presented on your site in a coherent page, reformatted to your style.
I agree. Here's the link:
subject: Why Web Services
It's not a secret anymore!