• Post Reply Bookmark Topic Watch Topic
  • New Topic

What's difference between web service and web application

 
David Chen
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, There:
I'm a newer to web service. Just want to know what's different from web application which is constututed from JSP, Servlet etc.. I checked the first example from JWSDP (gs), which is exactly a web application instead. So, I guess, web service includes web application but provides an extension to it on XML message exchanging, processing. Am I right? Any comment will be highly appreciated.
Thanks
David
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Marketing"
Thats the difference (if you want to be cynical)
I do think that you are correct that web service implies a more formal XML message exchange process. I also suspect that much of the real web service work is going on invisibly within corporate Intranets and is never seen by the public.
Bill
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, a Web Application (as defined in J2EE) is a formal way of packaging Servlets, JSP's and other java objects togehter with metadata into a deployment unit.
A "Web Service" is a single service (which can be described by a WSDL document, for instance) which usually communicates with other components through SOAP messaging. Thus a "Web Services" is much closer to an EJB than to a whole "web application".
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!