违背了“无状态服务器”约束。
对于无状态服务对象很理想。
一个无状态服务器是如何支持ACID事务的?
在本例中,一个sipp脚本用于模拟sip状态服务器。
In this case, a sipp script is used to simulate an sip presence server.
在客户端仅仅请求资源时,采用无状态服务器实际上是更现实的。
A stateless server is more realistic in practice when the client is only requesting resources.
对有状态和无状态服务的优点的讨论,包括对于规范的技术和管理资源状态的服务设计。
A discussion of the merits of stateful and stateless services, including techniques for the specification and design of services that manage resource state.
在后端,样例应用程序将Web服务请求转换为发送给SIP状态服务器的SIP订阅。
On the back end, the sample application converts the Web service request into an SIP subscription sent to a SIP presence server.
将业务逻辑分散到小的无状态服务中,这些服务可以被放到简单的同构服务池中。
Separate business logic into small stateless services that can be organized in simple homogeneous pools.
清单8展示了如何访问与状态服务器发送的通知关联的presencesession ?
Listing 8 shows how to access the PresenceSession associated with the notification sent from the presence server.
还有一个客户尝试运行交易服务和有状态服务,而这不幸需要以Web服务方式调用服务。
Another customer tried to get transactions and stateful services running, which unfortunately required calling services as Web services.
本文的其余部分说明为什么这个简单的有状态服务可以使用多种JAX - RPC技术来实现。
The rest of this article shows how this simple yet stateful service can be implemented using various JAX-RPC techniques.
举个相反的例子,有状态服务接口将倾向于通过将使用者与特定提供者实例关联来增加使用者和提供者间的耦合。
As a counter-example, a stateful service interface will tend to increase coupling between consumer and provider by associating a consumer with a particular provider instance.
在线状态服务器:“在线状态服务器”提供用于收集、管理和分发实时可用性和用户间的通信方法的服务。
Presence server: a "Presence server" provides the services to collect, manage and distribute the real time availability and the means for communicating among users.
这个例子设置支持使用以轻量级容器(这里就是Spring)配置的无状态服务和数据访问(DAO)层。
This example setup supports the use of stateless service and data access (DAO) layers that are configured using a lightweight container, in this case Spring.
所以只要你坚持并发编程的最简单规则——无状态服务和不变对象,将你的服务绑定到任何生产者或消费者上都会轻而易举。
So as long as you stick to the simplest rules of concurrent programming - stateless services and immutable objects, it will be a breeze to wire your services to any producer or consumer.
oma定义的服务构建于IMS基础设施之上,如即时消息传递(Instant Messaging,IM)、在线状态服务和组管理服务等。
The services defined by OMA are built on top of IMS infrastructure, such as Instant Messaging (IM), Presence service, and Group Management service.
更重要的是,科学家们已经在排队争取这些低重力太空飞行服务的座位了,这样他们就可以在几分钟的失重状态下收集数据。
More importantly, scientists are already queuing for seats on these low-gravity space-flight services so they can collect data during a few minutes of weightlessness.
无状态的服务不仅性能更好,而且还将大部分状态维护职责转移给客户端应用程序。
A stateless service not only performs better, it shifts most of the responsibility of maintaining state to the client application.
注意状态是如何通过自动服务更新的。
增加易用性的另一项技术是,创建反映业务对象生命周期的状态的服务接口。
A further technique for increasing consumability is to create service interfaces reflecting the states of the business object lifecycle.
客户机使用资源状态的REST服务表示进行交换。
Clients exchange with REST services representations of the state of the resources.
如果你更新服务控制面板的内容,会发现服务状态是已经停止。
If you refresh the contents of the Services applet, you will see that service status is stopped.
因为应用程序使用无状态的服务接口,所以此时的课程实例看作已经与持久化上下文 “分离”。
Because the application uses a stateless service interface, the course instance is at this point considered "detatched" from the persistence context.
“通过”状态表示服务已经可以发布了。
Pass status indicates that the service is ready to be published.
一个有状态操作系统服务的范例。
OperatingSystem.ear: a sample stateful operating system service.
如果未启用触发机制且消息在队列上保持未处理状态,那么服务失败或超时的风险将增加。
If triggering is not enabled and messages are left unprocessed on queues, there is an increased risk of service failures or timeouts.
如果使用状态机服务的客户端为当前状态调用了错误的操作,则该客户端将接收一个错误,使其知道将发生什么情况。
If a client using your state machine service calls the wrong operation for the current state, the client will receive a fault to let it know what happened.
最后一种状态通常表示该插件无法确定服务的状态。
The last state usually means that the plug-in was unable to determine the status of the service.
第三,我想要提供一个工作原型,例举出许多事物协调服务的关键需求,例如,如何管理无状态的服务调用。
Third, I wanted to provide a working prototype that illustrates many of the critical needs for a transaction coordination service, such as how to manage stateless service calls.
服务状态信息——流程编排场景通常包含调用多个服务。
Service status info - Choreography scenarios normally involve calling more than one service.
应用推荐