JEE Web Applications vs Web Services
Posted
by
Zac
on Stack Overflow
See other posts from Stack Overflow
or by Zac
Published on 2011-01-06T19:44:44Z
Indexed on
2011/01/06
19:53 UTC
Read the original article
Hit count: 464
Can someone confirm or clarify for me:
From what I can tell, JEE web apps consist of a Servlet and/or JSP driven dynamic web page being fed back in the HTTP response, triggered by the JEE server receiving a HTTP GET or POST request.
From what I can tell, JEE web services also make use of Servlets as the web tier components, however a WS Servlet receives a SOAP message and validates the contents of those messages with whatever WSDL the Servlet is WARed with. The response is also packaged in SOAP and sent back to the requestor.
So, from what I can tell, both JEE web apps and WSes use Servlets as the web components, with the only real difference being the protocol used (raw HTTP vs SOAP, which is an extension of HTTP).
This is the best I could come up with - am I right? Totally wrong? Close?
© Stack Overflow or respective owner