I am a restful web service provider.
我是一个安静的网络服务提供商。
It identifies the resource in the RESTful Web service server.
它标识RESTful Web服务服务器中的资源。
Resources are the key parts that compose a RESTful Web service.
资源是组成RESTful Web服务的关键部分。
In fact, a Web page does fit the profile of a RESTful Web service.
实际上,Web页面确实符合RESTful Web服务的配置文件。
Next, create a RESTful web service resource using a root resource class.
接下来,使用根资源类创建一个RESTful web服务资源。
The diagram in Figure 1 shows the interaction with a RESTful Web service.
图1中的关系图显示了与一个基于REST的Web服务之间的交互。
In next section, learn how to write an Ajax client for this RESTful Web service.
在下一个部分中,了解如何为这个基于REST的Web服务编写Ajax客户端。
As a guideline to design a RESTful Web service, you can follow these four steps.
在设计rest式Web服务时,可以采用以下四个步骤。
Listing 8 is an example of calling a RESTful web service using the Dojo Toolkit.
清单8是一个使用DojoToolkit调用RESTful web服务的示例。
Id is the id for the data item and is used to build RESTful Web service requests.
id是数据条目的id,用于构建RESTful Web服务请求。
The next step is to create a RESTful web service resource using a root resource class.
下一步是使用一个root资源类创建一个RESTful Web服务资源。
The application functionality is exposed as a RESTful Web service that USES CXF and Spring.
此应用程序的功能作为一个使用CXF和Spring的RESTful Web服务公开。
The former is the URI to identify the resource to request on the RESTful Web service server.
前者是标识RESTful Web服务服务器上要请求的资源的URI。
For instance, you can post plain text to a URL to call a post method on a RESTful Web service.
例如,可以将普通文本提交给URL以对一个RESTful Web服务调用POST方法。
In this article, you learned how to write a RESTful Web service using a servlet and an Ajax-based client.
在本文中,您了解了如何使用Servlet和基于Ajax的客户端来编写基于REST的Web服务。
Some additional guidelines to make note of while thinking about URI structure for a RESTful Web service are.
在考虑基于REST的Web服务的URI结构时,需要指出的一些附加指导原则包括。
The jQuery library also includes the post method, which you can use to post data to the RESTful Web service.
jquery库还包含post方法,它可以用于将数据提交给RESTful Web服务。
Now that you've imported the necessary libraries, you're nearly ready to write your first RESTful Web service.
现在已导入所需的库,基本可以编写第一个RESTful Web 服务了。
Listing 4 shows the code for an Ajax-based HTML page, which ACTS as the client to the above RESTful Web service.
清单4显示了一个基于Ajax的html页面的代码,它可以用作上述基于REST的Web服务的客户端。
To create a RESTful Web service, first you need to identify all the resources you want to expose as Web services.
要创建基于REST的Web服务,您首先需要确定希望作为Web服务进行公开的所有资源。
This collaboration between client application and service is essential to being stateless in a RESTful Web service.
客户端应用程序与服务之间的这种协作对于基于REST的Web服务中的无状态性极为重要。
Based on the URI and content type, this method builds an HTTP request and sends it to the RESTful Web service server.
这个方法根据URI和内容类型构建一个HTTP请求并把它发送给RESTful Web服务服务器。
Listing 5 shows how the Apache Wink client can be used in a servlet for retrieving the data from a RESTful web service.
清单5展示如何在servlet中使用ApacheWink客户端从RESTful Web服务中检索数据。
Specifically, what if the request you make is to a RESTful Web service, and the response contains XML that you'd like to parse?
具体来讲,如果发出的请求指向一个RESTful Web服务,而该服务包含您要解析的XML,该怎么做呢?
If the RESTful Web service server is running on the same domain and port, the obvious option is using the GWT RequestBuilder class.
如果RESTful Web服务在相同的域和端口上运行,明显的方法是使用GWTrequestbuilder类。
Core Server: By providing annotations and APIs standardized in JSR 311, you can develop a RESTful Web service in a very intuitive way.
核心服务器(Core Server):通过提供JSR 311中标准化的注释和API标准化,您可以用直观的方式开发RESTful Web服务。
We use it to test the RESTful Web service by making a GET request on the URL below (" 0000000001 "is the customer number for query). See Figure 32.
我们使用它对以下url发出GET请求以测试RESTful Web服务(“0000000001”是要查询的客户号),见图32。
Now that you've verified that the new RESTful Web service is up and running properly, you are ready to use Ajax from a Web page to display the data.
现在已确认RESTful Web服务已就绪并运行正常,可以从web页面使用Ajax显示数据。
This article introduces Apache Wink, demonstrates how to install it, and provides an example of a simple RESTful Web service that manages a task list.
本文将介绍ApacheWink,演示如何安装它,并附带一个简单的管理任务列表的RESTful Web服务。
One of the key characteristics of a RESTful Web service is the explicit use of HTTP methods in a way that follows the protocol as defined by RFC 2616.
基于REST的Web服务的主要特征之一是以遵循rfc 2616定义的协议的方式显式使用HTTP方法。
应用推荐