The difference and connection between Web application and Web Service __java

Source: Internet
Author: User
Tags http authentication

Different points:

WEB Application:

1: Request to the Web application, usually directly return HTML or image data and so on.

2: The results from the Web application are typically displayed directly to the user via the Web browser.

Web Service:

1: The request to the Web service, generally return is Xml,json.

2: The data from the Web service is the original structure, usually not directly displayed to the user.

The role of 3:web service is generally to provide some services and interfaces for WEB application.


Same point:

1: all use HTTP to transmit data

2: All use HTTP authentication/authorization function to ensure data security.

3: Typically hosted on a Web server.


Thus, the main difference between the two is who they are dealing with, and web Service is typically interacting with Web application, while Web application is typically interacting with web browser. (Very similar to database and database application).


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.