以上就是在应用被终止前保存应用状态所需执行的全部操作。
The user name is already saved, so you don't need to save it here.
应用程序保存其状态的一种方法是存储在内存中。
然后我们将此状态保存到应用程序会话,如清单5所示。
Then we save that to the application session, as shown in Listing 5.
应用的状态结构只要有变化,会话迁移就会失败。
In case of any state structure changes in the application, session migration fails.
每个应用程序都有一个或多个活动,代表着应用程序的各种状态。
Each application has one or more activities that represent the various states of the application.
应用程序负责跟踪它自己的状态。
在应用此APAR之前您无法拒绝它返回这一状态。
You can't reject it back to the state before you applied this APAR.
绿色应用程序状态指示应用程序在运行。
The green application status indicates that the application is running.
应用程序状态显示在屏幕下半段。
The application Status is displayed in the lower part of the screen.
使游标对客户机应用程序保持打开状态(不要关闭它)。
Keep the cursor open for the client application (do not close it).
当您应用Failed状态时,您可以看见一个 Failed 的结果。
When you apply the Failed status, you should see a Failed result.
接着,我们应用一个afteradvice来输出状态消息。
Next, we apply some after advice to output a status message.
给应用程序窗口添加状态行。
处理应用的状态很简单。
所发现服务的状态(应用程序已经从服务器卸载)。
State of discovered service (Application has been uninstalled from the server).
所发现服务的状态(应用程序已经在服务器重新安装)。
State of discovered service (Application has been reinstalled from the server).
在定义这个术语之前,我们首先定义应用程序状态的概念。
Before we define this term, first we will define the concept of application state.
您可以确定这个应用程序可用的状态转换。
You can determine the state transitions available for this application.
所以,在应用程序中保存会话状态是非常重要的。
So, session state is very important to preserve in an application.
出于安全原因,密码不会存储在应用程序状态中。
For security reasons, the password is not stored in the application status.
状态行是应用程序窗口的另一个可选组件。
The status line is another optional component of an application window.
一旦部署进入了RUNNING状态,您便可以访问已部署的应用程序环境。
Once the deployment is in the RUNNING state, you can access the deployed application environment.
这种情况会导致应用程序的状态不连续。
This scenario leads to an inconsistent state in the application.
模型封装了应用程序的状态。
这意味着在REST应用程序中,服务器上没有存储任何会话状态。
This means in a REST application no session state is stored on the server.
在很多用户应用程序中,保存应用程序状态很有用。
In many user applications, it is useful to save the application status.
而对应用程序的状态变量有影响的方法也有副作用。
And any method that impacts the state of application variables also has side effects.
这个信息叫做会话状态,是有用的应用程序的重要部分。
This information is called session state and is an important ingredient of a useful application.
运行时应该很快显示绿色应用程序状态,指示已经启动。
The runtime should soon show a green application status indicating that is has started.
运行时应该很快显示绿色应用程序状态,指示已经启动。
The runtime should soon show a green application status indicating that is has started.
应用推荐