title: Most important uses of web service
body: <p>Web services are used to share the services provided by an application, to outside world. This is my basic understanding of web services. </p>
  
  <p>Suppose my application is to expose some specific behaviors and I have written the code for it and exposed the methods. The ones who want to use it can take the link to the wsdl, generate stub and call the methods.</p>
  
  <p>What is the use of doing all this, when I can myself expose the methods, generate a jar and bundle everything in it and share the server address,jar. </p>
  
  <p>How differently is web services important, when compared to a case explained above. Am asking such a general question due to unsuccessful search in many websites.</p>