可以把延续看成在某一时间点上“冻结的”程序状态。
Think of a continuation as the state of a program at a frozen point in time.
清单5展示了用于处理demo应用程序状态的XML。
Listing 5 shows the XML for handling the demo application's states.
应用程序状态可以存储在内存、文件或者数据库中。
Application state may be stored in memory, in files, or in a database.
在服务器端,应用程序状态和功能可以分为各种资源。
On the server side, the application state and functionality are divided into resources.
快照包含一组关于积累到一个具体时刻的程序状态和量度信息的数据。
The snapshot contains a set of data regarding the program state and measurement information accumulated up to a specific point of time.
仅返回关于程序状态的数据的函数可以成为配置脚本和数据的好工具。
Functions that simply return data about the state of your program make a wonderful tool for configuration scripts and data.
这样一来,您就能够定义可以根据应用程序状态求值的属性。
This allows you to define properties that you can evaluate based on the state of the application.
它通过节省带宽和最小化服务器端应用程序状态改进了性能。
It improves performance by saving bandwidth and minimizing server-side application state.
但是,当您添加了应用程序状态管理时,巨大的性能差异就将显现。
When you add in the management of application state, however, a substantial performance gap becomes apparent.
RM必须使对应用程序状态所做的任何更改与请求更改的事务相关联。
The RM must associate any changes to the application state with the transaction requesting the changes.
资源管理器知道如何把应用程序状态中的变化与特定的事务关联起来。
Resource managers know how to associate changes in application state with specific transactions.
Hypermedia是应用程序状态的引擎,资源表示通过超链接互联。
Hypermedia is the engine of the application state, and resource representations are interconnected by hyperlinks.
在本例中,应用程序状态为ACTIVE,因此应用程序应该能够处理请求。
In the example shown, the state is ACTIVE, so this application should be able to handle requests.
在Web上,为了发现对应用程序状态的修改,浏览器必须重新查询服务器。
On the Web, the browser has to re-query the server to discover modification to the state of the application.
xml文件是单元状态的快照,包括服务器状态、应用程序状态和路由信息。
The target.xml file is a snapshot of the state of the cell, and includes information about server state, application state and routing information.
总而言之,有状态会话ejb组件为管理应用程序状态提供了一种重量级机制。
All in all, stateful session EJB components provide a heavyweight mechanism for managing application state.
日志记录提供了故障前应用程序状态的详细信息,如变量的值、函数的返回值等等。
Logging provides the maximum amount of detail of the application state before the failure, such as value of variables, return value of functions, and so on.
这没有什么特别的地方——因为保存应用程序状态的代码和几个业务方法与视图无关。
There's nothing special there — just the code to hold the state of the application and a few business methods having nothing to do with the views.
API方法将按照从外部客户端接收的输入参数中请求的方式对应用程序状态执行相关操作。
The API method performs the operation on the application state as requested in the input parameters received from the external client.
地标可以被配置为匹配某种应用程序状态,并且它所属的容器组件可以针对这些状态作出反应。
A landmark can be configured such that it matches certain application states and that the container component to which it belongs can react to these states.
数据绑定会在应用程序状态(例如本地变量或者实体属性)和用户界面之间创造出同步的关系。
Data binding creates a synchronization relationship between application state (e.g. local variables or entity properties) and the user interface.
这些模式讨论表示、到关系数据存储的映射、域逻辑、应用程序状态管理和创建的应用程序功能。
These patterns address presentation, mapping to relational data stores, domain logic, application state management, and common application functions.
如果一个资源成功提交,但在另一个资源成功提交前系统崩溃,那么也会造成应用程序状态不一致。
If one resource commits successfully but the system crashes before the other resource can commit successfully, the application again is inconsistent.
原子性意味着要么所有事务操作都应用于应用程序状态,要么都不应用;事务是不可拆分的工作单元。
Atomicity means that either all of the transactions' operations are applied to the application state, or none of them are applied; the transaction is an indivisible unit of work.
一致性意味着事务代表应用程序状态的正确转换——即事务不能违反应用程序中固有的任何完整性限制。
Consistency means that the transaction represents a correct transformation of the application state — that any integrity constraints implicit in the application are not violated by the transaction.
但是,使用JSON在理念上更接近于在应用层之间传递序列化的对象,而不是创建应用程序状态的视图。
However, using JSON is philosophically closer to passing serialized objects between application tiers than to creating a view of the application state.
范围容器还为Web应用程序提供一个潜在的好处:容器可以透明地管理应用程序状态的复制和故障转移。
Scoped containers also offer another potentially significant benefit to Web applications: the container can manage replication and fail-over of application state transparently to the application.
在基于REST的Web服务中,服务器负责生成响应,并提供使客户端能够独自维护应用程序状态的接口。
In a RESTful Web service, the server is responsible for generating responses and for providing an interface that enables the client to maintain application state on its own.
这些输出参数通常是一些有关应用程序状态的参数,从外部连接到应用程序的客户端需要从应用程序获取此状态。
These output parameters are typically some of the parameters regarding the state of the application that the client external to the application needs from the application.
这些输出参数通常是一些有关应用程序状态的参数,从外部连接到应用程序的客户端需要从应用程序获取此状态。
These output parameters are typically some of the parameters regarding the state of the application that the client external to the application needs from the application.
应用推荐