aspose file tools*
The moose likes Web Services and the fly likes Need to understanding when to use Web Services? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Need to understanding when to use Web Services?" Watch "Need to understanding when to use Web Services?" New topic
Author

Need to understanding when to use Web Services?

Jean Miles
Ranch Hand

Joined: Aug 20, 2003
Posts: 53
I am trying to understand when to use Web Services? I would like to know
what problems does 'using web services' solve.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
"Which technology should we expose our service with when we have no idea who's gonna be using it?"


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
JeanLouis Marechaux
Ranch Hand

Joined: Nov 12, 2001
Posts: 906
and...
"How to have 2 in-house applications developped in different languages (say, C++ and Java, or Cobol and PowerBuilder, or .Net and Java) communicating with each other"


/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Matt R. Hansen
Ranch Hand

Joined: Sep 05, 2001
Posts: 71
Lasse is right. When there may be different languages or technologies on the client side that need to use the same service. This is when we have a need for web services.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Yet another:
"How to communicate between two systems when the location of one of them is not known"
Matt R. Hansen
Ranch Hand

Joined: Sep 05, 2001
Posts: 71
Jean is right as well. His post outraced my own.
JeanLouis Marechaux
Ranch Hand

Joined: Nov 12, 2001
Posts: 906
And another..
"the technology you have to use because your manager have read in an IT magazine this is the cutting-edge choice, and it will be cheaper, faster, better than any other one..."
Originally posted by Matt R. Hansen:
Jean is right as well. His post outraced my own.

BTW, my real first name is "Jean-Louis".
That's a bit long to right, but that's my name, I'm sorry
(For any reclamation, please contact my parents)
Matt R. Hansen
Ranch Hand

Joined: Sep 05, 2001
Posts: 71
My apologies Jean-Louis.
BTW, my real first name is "Jean-Louis".
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
I think that why use web service to solve problem ...
1. Use in communication between application (Need standard to communicate)
2. Use in communication between language (Java, C++, C#, Delphi ...) because CORBA is not standard in all programming language. (Use web service to solve because it communicate with text (XML, SOAP))
3. Web service is standard.
All guy , think that?


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Paul Monday
Author
Ranch Hand

Joined: Aug 28, 2003
Posts: 41
One of the best ways that I found Web Services can be useful (and similar "XML-based protocol technologies like WBEM") is when your ability to predict the consumer of your functionality is hampered. There can be a lot of reasons for this:
a) your service is "opened" up to people beyond your control (like in another department, or branch of your enterprise...or even to the Internet (like Google and Amazon are finding useful))
b) you need an integrating technology between multiple stovepipe systems that were built at different times and with different languages and/or granularities of service
c) your service will exist "across time" (somewhat related to above...but forward looking as well...think about the languages that your company will be exposed to in the next 5-10 years, are you sure it will be Java or C# or RPG? Can you rely on XML being available? Former you can guess with some amount of accuracy, the latter you can guess with a high amount of accuracy...I hope.
Paul Monday


Paul B. Monday<br />Author, Web Service Patterns: Java Edition
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to understanding when to use Web Services?