这意味着在REST应用程序中,服务器上没有存储任何会话状态。
This means in a REST application no session state is stored on the server.
当将用户状态存储在会话对象中时,这通常意味着给定用户的请求全都针对同一个服务器实例。
When user state is stored in session objects, this generally implies that a given user's requests are all directed to the same server instance.
取决于该的应用程序体系结构的更改可能包括令人生畏任务如同步会话状态和跨服务器位置复制数据库事务。
Depending on the application, changing the architecture could include daunting tasks such as synchronizing session state and replicating database transactions across server locations.
如果服务器发生了故障,会话状态就丢失了,那么用户就会体验到非常奇怪的浏览器行为“为什么我又回到主页上来了?”
If a server fails, the session state goes away and users experience odd browser behavior " Why am I back to the home page?"
会话状态表示服务器上保持的具有有限生存期的数据,其生存期由Portlet容器进行管理。
Session state represents data that is kept on the server with a limited lifetime managed by the portlet container.
尽管在释放容器资源方面钝化机制非常有帮助,但是在防止服务器崩溃以避免丢失有状态会话bean的活动状态方面却无能为力。
While the passivation mechanism is helpful in freeing up container resources, it does nothing to prevent a server crash from losing the active state of a stateful session bean.
因为HTTP是无状态的,除非一些类型的会话令牌在每个请求中来回传递,否则服务器并不能将同一个人的所有请求联系在一起。
Because HTTP is stateless, unless some kind of session token is passed back and forth on every request, the server has no way to link together requests made by the same person.
代理服务器中的无状态SIP代理功能允许代理处理复杂性较低的sip容器的工作负载、路由和会话关联性需求。
The stateless SIP proxy functionality in the proxy server enables the proxy to handle the workload, routing, and session affinity needs of the SIP container with less complexity.
DWR框架可以用来在服务器端接收这些事件,但是服务器端会话状态需要维护在什么地方?
The DWR framework can be used to receive these events on the server side but where the conversational state needs to be maintained on the server side?
然而,通过声明组件及其属性,开发人员需要管理服务器端的状态,这种状态可能是会话持久性的。
However, the developer is responsible for the server-side state through the way a component or its properties are declared, which can be session-persistent.
有时候这仅仅是某种类型的会话id,它可以用来从内存或数据库检索服务器端状态。
Sometimes this may just be a session id of some sort that can be used to retrieve server-side state from memory or a database.
服务器相信会话已处于活动状态,从而返回一个确信响应给新用户,这表明一个全新的会话被创建且凭证已被安全存储。
The server, believing that the session is already active, returns a reassuring response to the new user that suggests that a brand new session was created and the credentials were safely stored.
最佳解决方案就是使用RMI直接与应用程序服务器中的无状态会话bean对话。
The best solution is to use RMI to talk directly to stateless session beans in the application server.
使用应用程序服务器,该服务器为有状态会话bean的状态恢复提供自动支持。
Use an application server that provides automatic support for recovery of stateful session bean state.
此外,使用有状态会话Bean将会再添加一些状态到您的应用服务器上,这也是不好的做法。
In addition, the use of stateful session beans pushes state to your application server, which is undesirable.
在J2EE应用程序中存储服务器端状态的其他方法是使用有状态会话bean,或者在数据库中存储会话状态。
The other alternatives for storing server-side state in J2EE applications is to use stateful session beans, or store conversational state in the database.
这个针对有状态会话bean的常用解决方案需要花费服务器时间和资源来钝化bean状态、回收bean实例和激活bean状态。
This common solution to stateful session beans requires server time and resources for passivating the bean state, recycling bean instances, and activating a bean state.
我们的例子中,一个简单的无状态会话bean公开了一个方法来读取服务器端的时间戳。
Consider our example, a simple stateless session bean that exposes a method to read the server-side timestamp.
对象高速缓存和合用:应用程序服务器自动在服务器级合用无状态会话bean,这减少了花在对象创建和垃圾收集上的时间。
Object caching and pooling: the application server automatically pools stateless session beans at the server level, reducing the amount of time spent in object creation and garbage collection.
这个参数告诉LotusDomino将不同服务器之间传递邮件的会话保持在开启状态。
This parameter tells Lotus Domino to leave the session for delivering mail open between the various servers.
接下来我将介绍联系服务器并对服务器上远程无状态会话bean执行操作的方法。
Next I'll explain the methodology for contacting the server and performing operations on a remote stateless session bean on the server.
DRS使得集群中的各个服务器都可以使用会话管理、动态缓存和无状态会话Bean的数据。
DRS makes data for session management, dynamic cache, and stateless session bean available across servers in a cluster.
这种会话超时也定义了服务器替用户缓存会话状态的最长时间(WebSphereApplicationServer默认将此设为30分钟)。
This session timeout also defines how long session state is cached on the server on behalf of a user (WebSphere Application server sets this to 30 minutes by default).
如果不能识别,服务器可以忽略全部或部分Header(比如,无状态的服务器可能会忽略Header中的会话信息)。
The server is free to ignore all or some of the header if it does not recognize it (for instance, a stateless server may ignore session information from the header).
由于无线网络的有限带宽,而且多数无线网关不支持“cookie”,所以将用户会话状态从服务器端推入到客户端是不太可能的。
Due to the limited bandwidth on the wireless network and the lack of support for "cookies" in most wireless gateways, it is not possible to push the user's session state from the server to the client.
此ID用于在请求间维护与该客户端会话关联的服务器端状态。
This id is used to maintain server-side state associated with the client session across requests.
此ID用于在请求间维护与该客户端会话关联的服务器端状态。
This id is used to maintain server-side state associated with the client session across requests.
应用推荐