In other words, we are replacing the resource properties document with a JSON object and using HTTP methods in lieu of WS-RP methods.
换句话说,我们正使用JSON对象替代资源属性文档,并使用HTTP方法替代WS- RP方法。
In order to show WS-AT in action, we'll use a scenario involving a corporate human resource department.
为了显示WS- AT如何工作,我们将使用涉及公司人力资源部的场景进行说明。
WS-Notification provides a standard method for a client (the consumer) to subscribe to notifications about a particular resource.
WS - Notification为客户机(使用者)提供了一个标准方法用于订阅关于特定资源的通知。
The Web services resource Framework (WS-Resource) defines a family of specifications for accessing stateful resources using Web services.
Web服务资源框架(WS - Resource)定义了使用Web服务访问有状态资源的一系列规范。
To support immediate destruction, the Calculator WS-Resource has to support the destroy message exchange pattern so that a service requestor can request the resource's immediate destruction.
为了支持立即销毁,计算器Web 服务资源必须支持销毁消息交换模式,只有这样,服务请求者才可以请求资源的立即销毁。
Receive changes in the resource properties of a WS-Resource from a client.
接收客户端Web服务资源属性内部的更改。
The WS-Resource Lifetime specification standardizes the means by which a resource with a dynamic life cycle can be destroyed.
Web服务资源生命周期(WS - ResourceLifetime)规范标准化了销毁具有动态生命周期的资源的方法。
In the previous section, you saw how immediate destruction support can be added to the calculator WS-Resource.
在前一部分中,您了解了如何将立即销毁支持添加到计算器Web服务资源。
Set up a topic to be published upon creation of a new WS-Resource instance.
通过创建一个新的Web服务资源实例来设置要发布的主题。
You have now seen how the scheduled destruction of a WS-Resource can be implemented using the scheduler service in WebSphere Application Server, Enterprise Edition.
现在您已经看到了可以如何使用WebSphereApplicationServerEnterpriseEdition中的调度程序服务来实现Web服务资源的预定销毁。
WS-Resource Framework is essential where the stateful resources involved in the Web services interaction such as shopping cart, printer, print job, and so on.
在Web服务交互涉及到有状态资源(如购物车、打印机、打印作业等等)的情况下,WS -ResourceFramework是必需的。
The custom port types of the WS-Resource (also referred to as service methods) are generated as part of the AddressServiceManager of the adapter component.
WS - Resource的定制端口类型(也称为服务方法)是适配器组件的AddressServiceManager的一部分。
Also, to create (and work with) multiple instances of Address WS-Resource, we have included the AddressFactory class in the design model.
同时,为了创建多个AddressWS - Resource实例(并与其一起工作),我们在设计模型中包含了addressfactory类。
To focus the attention on the method and the tools used to develop a WS-Resource, let's use a very simple data object, such as Address, and model it as a WS-Resource.
为了将精力集中在用来开发WS -Resource的方法和工具上,我们将使用一个非常简单的数据对象(例如address)作为WS - Resource进行建模。
The clients of the Calculator WS-Resource can now call the destroy method to explicitly destroy it, as shown in Listing 4.
计算器Web服务资源的客户端现在可以调用destroy方法来显式地销毁它,如清单4中所示。
The framework does not cache these values; however, the framework maintains a list of all valid resource property names in the resource property document for any given instance of the WS-Resource.
资源框架不会缓存这些值;但是框架将为任何给定的WS -Resource实例维护ResourceProperty文档中所有有效资源属性名称的列表。
The PublisherHelper provides a publish method that the WS-Resource USES to publish any change in the values of its resource properties. The publish method takes the following parameters as input.
PublisherHelper提供publish方法,Web服务资源可以使用该方法发布自身资源属性值的任何更改。
In this section, we introduce the steps involved in setting up the runtime environment to run the sample WS-Resource.
在本部分,我们将介绍运行示例WS - Resource的运行时环境的设置步骤。
Distributed security monitoring Web services should include the coupling switch mechanism plus the WS-Resource Framework WS-Resource Transfer.
分布式安全监视Web服务应该包括耦合切换机制以及WS -ResourceFramework和WS - ResourceTransfer。
This paper showed you how a Web service interface can provide access to the properties of a WS-Resource whose state is modeled using an entity bean with CMP/A.
本文向您说明了对于使用CMP/A实体bean对其状态建模的Web服务资源,Web 服务接口如何提供对该资源属性的访问。
Developing a simple test client application for the ws-resource.
为WS - Resource开发简单的测试客户机应用程序。
This code simulates a component that changes the state of the Calculator WS-Resource.
该代码可以模拟组件来更改Calculator Web服务资源的状态。
To deploy the WS-Resource as a feature, perform these steps.
若要将WS - Resource部署为特性,请执行以下步骤。
Listing 8 wraps the call to the WS-Resource in a convenient function that can be called from anywhere within your HTML page.
清单8将对WS - Resource的调用包装在可以从html页中的任何位置调用的适当函数中。
Construct a design model for the sample WS-Resource.
构造样本ws - Resource的设计模型。
An OSGi bundle that encapsulates one or more stateful OSGi service objects that must be exposed as a WS-Resource.
资源是封装了一个或多个必须公开为WS - Resource的有状态osgi服务对象的OSGibundle。
The ResourceProperties document defines a particular view or projection of the state data that the WS-Resource implements. The OperatingSystem WS-Resource has the following ResourceProperties
ResourceProperties文档定义了状态数据的特殊视图或投影(projection),这些状态数据是由 Web 服务资源实现的。
Generating client-side components for the sample ws-resource.
生成样本ws - Resource的客户端组件。
You can also have the WS-Resource client set this interval by calling the SetTerminationTime operation, provided that the Calculator Web service implements the operation.
您还可以通过调用SetTerminationTime 操作来让Web服务资源的客户端设置此时间间隔。
The WS-Resource provider wizard generates two projects in the Eclipse workspace, one each of the two provider-side bundles, namely, the adapter bundle and the Web services bundle.
WS - ResourceProvider向导将在Eclipse工作区中生成两个项目,用于两个提供程序端bundle,即适配器bundle和Web服务bundle。
应用推荐