具体地说,无状态原则保证分布式服务器可以平衡请求处理负载,而客户机不会注意到差异。
Specifically, the stateless principle guarantees that distributed servers can balance the load of processing requests while the clients do not notice the difference.
无状态——通过单个调用传入传出给定函数的所有相关数据,支持任何运行的实例以任何方式处理任何客户请求。
Stateless -- all data associated with a given function is passed in and out on a single call, enabling any client request to be handled by any running instance in any order.
无状态性是通过保证调用所需数据的可用性实现的,而且这不依赖于处理请求的主机。
Statelessness is achieved by ensuring that all the data needed for the call is available and there is no dependency on the machine that processed the request.
支持Bean将添加事件请求处理工作委托给无状态会话BeanEventServiceEJB,并将列表和保存事件委托给一个EventService实现。
The backing bean delegates add event request processing to the EventServiceEJB Stateless Session bean, and delegates listing and saving events to an EventService implementation.
“GenerateDeployCode”向导生成一个无状态会话来把客户机请求传递到服务,并且处理从服务返回的请求。
The "generate Deploy Code" wizard generates a stateless session bean to pass the client request to the service and handle the returned response from the service.
前面的讨论中给出了两个基本规则调用样式(同步请求-响应样式和异步事件处理样式)并对无状态处理和有状态处理进行了区分。
The previous discussion Outlines two basic rules invocation styles (synchronous request-response style and asynchronous event-handling style) and distinguishes stateless versus stateful processing.
通信是无状态的,这意味着服务器不保留客户机通信的状态,仅仅处理当前请求。
The communication is stateless, which means servers do not retain the state of communication with clients beyond a single request.
JDWP协议是无状态的,因此vm在调试器请求到来的时候就处理,在发生事件的时候就发送给vm。
The JDWP protocol is stateless, so the VM handles individual debugger requests as they arrive, and posts events to the debugger as they happen.
JDWP协议是无状态的,因此vm在调试器请求到来的时候就处理,在发生事件的时候就发送给vm。
The JDWP protocol is stateless, so the VM handles individual debugger requests as they arrive, and posts events to the debugger as they happen.
应用推荐