Restful and SOA

Source: Internet
Author: User

This article is reprinted. Restful simply means that the URL clearly points to the resource. SOA is not easy to explain in my own words, but obviously it is not. Well, my own understanding is that SOA is an interface for accessing websites. Taking accessing a blog list as an example, the restful URL may be http: // localhost/bloglist, while the SOA may be http: // localhost/serverlet/showbloglist soap accesses an interface provided by the server, which processes your request and restful accesses a bloglist resource.

Therefore, restful is easy to cache, because the URL can clearly point out the resources to be accessed, while SOA does not. The soa url cannot see the accessed resources. Restful access control policies can be implemented through the proxy server. Because the URL clearly points to the resource, but SOA does not work, the URL proxy server of SOA cannot be seen. Http://www.blogjava.net/diggbag/articles/361703.html

 

 

The following is a discussion with students

23:13:04
[Junior High School] Li Mingwei 23:13:04

Who knows what this restful and SOA mean .. Great experts who work overtime
23:16:13
[High School] Wu Wei
23:16:13

Restful is URL standardization. SOA-oriented architecture is a software design concept,
23:32:31
[Junior High School] Li Mingwei 23:32:31

Restful web services have become the most promising alternative to soap-based services .. How can URL normalization replace service-oriented ..
[High School] Wu Wei
23:33:10

A URL prefix represents a service.
[High School] Wu Wei
23:33:48

Internet companies are all restful-based
[High School] Wu Wei
23:34:18

Not always use soap, just HTTP + JSON
23:35:19
[Junior High School] Li Mingwei 23:35:19

It seems that I should check SOA instead of restful. I think there is nothing special about restful.
[High School] Wu Wei
23:35:37

Are you going to engage in Web? If you want to come to Beijing, I will recommend it to you.

[Junior High School] Li Mingwei 23:36:20

No. I will interview a python developer tomorrow. The technology used is that the frontend and backend communicate through the restful protocol.

[Junior High School] Li Mingwei 23:36:33

I have never heard of this term and I am confused when I look into it.
23:37:48
[High School] Wu Wei
23:37:48

It is an idea. In the past, software systems liked to define various interfaces for various calls. Currently, the architecture based on Web server is popular, which is very convenient and fast.

[Junior High School] Li Mingwei 23:38:36

... What you said is the same as what you said on the Internet .. For people I have never developed, it feels like Xuan and Xuan.
23:43:35
[Junior High School] Li Mingwei 23:43:35

A difference between restful and soap is that restful can be seen from the URL to access what resources, how to access and soap can not do

[Junior High School] Li Mingwei 23:43:40

Is that true?
23:47:31
[High School] Wu Wei
23:47:31

Soap data transmission seems to use XML and restful directly written in HTTP URLs. In fact, soap URLs are well designed, but HTTP performance is better than soap.

[Junior High School] Li Mingwei 23:48:01

Soga

[Junior High School] Li Mingwei 23:48:37

What are the benefits of soap? This article is about the benefits of restful ..
23:50:39
[High School] Fan Jian
23:50:39

Over the past few years, don't look at soap. It's outdated.
[High School] Wu Wei
23:51:56

Soap is an implementation of Web services. What I mentioned in the document is that it transmits parameters to the server to obtain the results. In the end, it is a standard in the past, however, Soap also comes with other functions, meaning a network protocol.

[Junior High School] Li Mingwei 23:52:38

Oh .. Maybe I am familiar with the restful specification in Web programming, but I am confused when I look at it. It seems like this. I don't know why I need to create a restful concept separately.
23:53:40
[High School] Fan Jian
23:53:40

Soap and WebService are so-called enterprise-level standards. For the internet, it seems to be "enterprise-level", which means heavyweight and outdated.
[High School] Wu Wei
23:54:59

Some people have used this article before.
23:56:38
[High School] Wu Wei
23:56:38

Restful is also a lightweight Implementation of Web Services.
[High School] Fan Jian
23:57:06

The two are different concepts.

[Junior High School] Li Mingwei 23:57:09

Is SOA very old .. I remember I studied with ziming in my freshman year .. Why is the restful mode not popular in freshman year?
[High School] Fan Jian
23:57:34

Yes, fast Internet technology updates

[Junior High School] Li Mingwei 23:58:32

So in 2006, the URLs of most websites were not explicitly directed to a resource? Didn't we learn J2EE programming like this at that time?
23:58:45
[High School] Fan Jian
23:58:45

In the past, most enterprise apis were websercice, and the current Internet APIs are restful. webseevice is annoying to use based on XML.
[High School] Wu Wei
23:59:06

J2EE has become scum
[High School] Fan Jian
23:59:18

The school did not find any useful
[High School] Wu Wei
23:59:22

Spring is becoming popular

[Junior High School] Li Mingwei 23:59:36

I can't even remember .. I recently read that the URL in Python Django programming points to resources. I always thought the same was true for the J2EE I learned earlier.
00:00:50
[High School] Fan Jian
00:00:50

In essence, J2EE and web development are two things.
00:02:57
[High School] Fan Jian
00:02:57

The previous URLs do not need to be designed. In rest, the URL should be designed first, and the context, functions, and data interaction of the entire website should be clear.

[Junior High School] Li Mingwei 00:03:05

... I thought it was web development.

[Junior High School] Li Mingwei 00:03:13

Ah, yes !!

[Junior High School] Li Mingwei 00:03:25

When I try to write python, I always think

[Junior High School] Li Mingwei 00:03:31

If you want to figure out the URL first

[Junior High School] Li Mingwei 00:03:39

It's easy to write.
00:06:05
[Junior High School] Li Mingwei 00:06:05

Suddenly it seems that I understand the point. In the example of accessing a blog list,
[High School] Fan Jian
00:06:50

Previously, the URL defined behavior, so it was called doget dopost, so it was called action. Rest all URLs defined resources. You can perform curd operations on resources.
[High School] Wu Wei
00:07:12

Http://www.ruanyifeng.com/blog/2011/09/restful.html
00:08:20
[Junior High School] Li Mingwei 00:08:20

Suddenly it seems to understand that, in the example of accessing a blog list, the restful URL may be http: // localhost/bloglist, while the SOA may be http: // localhost/serverlet/showbloglist soap accesses an interface provided by the server. This interface processes your request and restful accesses a bloglist resource. Is it so understandable?

[Junior High School] Li Mingwei 00:09:14

Soga

[Junior High School] Li Mingwei 00:10:04

I think I can post this chat record to my blog. It will be clear later.
00:10:41
[High School] Wu Wei
00:10:41

Soap is a service and restful is a resource

[Junior High School] Li Mingwei 00:11:42

Previously, the URL defined behavior, so it was called doget dopost, so it was called action. Rest all URLs defined resources, the curd operation on resources explains all my doubts about thanks.

[Junior High School] Li Mingwei 00:12:41

Warren posted this: I was confused when I first checked the rest.

Restful and SOA

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.