To deploy the WS-Resource as a feature, perform these steps.
若要将WS - Resource部署为特性,请执行以下步骤。
Generating client-side components for the sample ws-resource.
生成样本ws - Resource的客户端组件。
Receive changes in the resource properties of a WS-Resource from a client.
接收客户端Web服务资源属性内部的更改。
Set up a topic to be published upon creation of a new WS-Resource instance.
通过创建一个新的Web服务资源实例来设置要发布的主题。
This code simulates a component that changes the state of the Calculator WS-Resource.
该代码可以模拟组件来更改Calculator Web服务资源的状态。
Use the WS-Resource client wizard (of the Mobile Web Services toolkit) to generate the client stub code.
使用(MobileWebServicestoolkit的)WS - Resourceclient向导来生成clientstub代码。
Figure 8 shows the relationship between all four specifications with respect to the WS-Resource Framework.
图8显示了所有这四个规范相对于WS - Resource Framework的关系。
In the previous section, you saw how immediate destruction support can be added to the calculator WS-Resource.
在前一部分中,您了解了如何将立即销毁支持添加到计算器Web服务资源。
An OSGi bundle that encapsulates one or more stateful OSGi service objects that must be exposed as a WS-Resource.
资源是封装了一个或多个必须公开为WS - Resource的有状态osgi服务对象的OSGibundle。
In this section, we introduce the steps involved in setting up the runtime environment to run the sample WS-Resource.
在本部分,我们将介绍运行示例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中所示。
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页中的任何位置调用的适当函数中。
The WS-Resource Lifetime specification standardizes the means by which a resource with a dynamic life cycle can be destroyed.
Web服务资源生命周期(WS - ResourceLifetime)规范标准化了销毁具有动态生命周期的资源的方法。
The Web services resource Framework (WS-Resource) defines a family of specifications for accessing stateful resources using Web services.
Web服务资源框架(WS - Resource)定义了使用Web服务访问有状态资源的一系列规范。
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类。
Distributed security monitoring Web services should include the coupling switch mechanism plus the WS-Resource Framework WS-Resource Transfer.
分布式安全监视Web服务应该包括耦合切换机制以及WS - ResourceFramework和WS - ResourceTransfer。
Initiate a change in state of the WS-Resource that results in the Web service producing a notification message which it then sends to the broker.
Web服务资源状态的改变使Web服务产生通知消息并将消息转送至代理。
Also in the previous code snippet, the OperationContext has been used to set up the communication channel between the client and the WS-Resource.
在前面的代码片段中,OperationContext用于建立客户机和WS - Resource之间的信道。
Effectively you are trying to create a Calculator WS-Resource with account name Hello, and then adding 10 to the total and then subtracting 5 from it.
您可以Hello这个名字来创建Calculator Web服务资源,并在总数上加10减5。
The Web Services Resource Framework (WS-Resource -- see Resources) defines a family of specifications for accessing stateful resources using Web services.
Web服务资源框架(WS-Resource,请参阅参考资料)定义了使用 Web 服务访问有状态资源的一系列规范。
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的一部分。
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是必需的。
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 服务接口如何提供对该资源属性的访问。
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服务资源的预定销毁。
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进行建模。
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。
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 服务资源必须支持销毁消息交换模式,只有这样,服务请求者才可以请求资源的立即销毁。
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 服务资源实现的。
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服务资源可以使用该方法发布自身资源属性值的任何更改。
应用推荐