违背了“无状态服务器”约束。
对于无状态服务对象很理想。
一个无状态服务器是如何支持ACID事务的?
在客户端仅仅请求资源时,采用无状态服务器实际上是更现实的。
A stateless server is more realistic in practice when the client is only requesting resources.
将业务逻辑分散到小的无状态服务中,这些服务可以被放到简单的同构服务池中。
Separate business logic into small stateless services that can be organized in simple homogeneous pools.
对有状态和无状态服务的优点的讨论,包括对于规范的技术和管理资源状态的服务设计。
A discussion of the merits of stateful and stateless services, including techniques for the specification and design of services that manage resource state.
这一趋势能带来与无状态服务器相互作用的有状态客户端(例如简单的数据库前端程序)。
This trend could bring us to stateful clients interacting with stateless servers (i.e. a simple database front-end).
这个例子设置支持使用以轻量级容器(这里就是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.
这个统一模式解决了一个无状态服务器如何在既不保存任何客户环境又不牺牲ACID事务完整性的前提下支持客户端事务的重要问题。
This unification scheme solves the critical problem of how a stateless server can support client transactions without holding any client context and without sacrificing an ACID transaction warranty.
无状态的服务不仅性能更好,而且还将大部分状态维护职责转移给客户端应用程序。
A stateless service not only performs better, it shifts most of the responsibility of maintaining state to the client application.
因为应用程序使用无状态的服务接口,所以此时的课程实例看作已经与持久化上下文 “分离”。
Because the application uses a stateless service interface, the course instance is at this point considered "detatched" from the persistence context.
由于大多数服务是无状态的,所以每次调用服务的时候就需要执行验证——一个非常费时的过程。
Since most services are stateless, authentication would need to be performed each time a service is invoked — a very time-consuming process.
无状态的服务意识不到事务状态,因此如果事务失败时,不能请求它们“回滚”一组变更。
Stateless services are unaware of transactional state; therefore they cannot be requested to "roll-back" a set of changes if a transaction fails.
EJB3:SCA服务通过无状态EJB公开,供ejb 3客户端使用。
EJB 3: SCA service is exposed through a stateless EJB for the consumption of EJB 3 clients.
EJB2:SCA服务通过无状态EJB公开,供ejb 2客户端使用。
EJB 2: SCA service is exposed through a stateless EJB for the consumption of EJB 2 clients.
这包括对非验证环境(例如,无状态的Web服务)中的安全的需求。
This includes the need for security in a non-authenticating environment (e.g., a stateless Web service).
编写和维护一个简单的StockQuote服务以及其他无状态的Web服务是相当简单的工作。
Writing and maintaining a simple StockQuote service and other stateless Web services is a fairly trivial endeavor.
如果状态总是由客户机提供,服务器就是无状态的(至少从程序员的角度来看):不会维护数据,只需处理传入的数据。
If state is always provided by the client, the server remains (at least from a programmer's viewpoint) stateless: There is no data to maintain, just incoming data to process as it shows up.
视图显示逻辑向浏览器移动,这使服务器更为无状态且更加可伸缩。
View rendering logic moves to the browser, which makes the server more stateless and thus more scalable.
第三,我想要提供一个工作原型,例举出许多事物协调服务的关键需求,例如,如何管理无状态的服务调用。
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.
很快您就会质疑,违背客户机-无状态-服务器约束是否真的是一个好主意。
Soon you begin to question whether violating the client-stateless-server constraint was such a good idea after all.
另一方面,无状态的服务器端组件不那么复杂,很容易跨进行负载平衡的服务器进行设计、编写和分布。
Stateless server-side components, on the other hand, are less complicated to design, write, and distribute across load-balanced servers.
第二种设计直接违背了客户机-无状态-服务器约束。
The second design directly violates the client-stateless-server constraint.
SIPRFC定义了两种类型的代理服务器,有状态代理服务器和无状态代理服务器。
The SIP RFC defines two types of Proxy Servers, one stateful and one stateless.
出于这个原因和简单性的考虑,我们选择实现无状态的Web服务。
For this reason, and for the sake of simplicity, we chose to implement stateless Web services.
逻辑和状态分离,以提供无状态处理机制,因为Web服务是无状态的。
Logic and state separated to provide stateless processing mechanism because Web services are said to be stateless.
此EJB引用绑定提供对无状态会话Bean 提供的服务的访问。
The EJB reference binding provides access to a service offered by a stateless session bean.
现在可以将所创建的无状态会话Bean作为Web服务公开了。
Now you can expose the stateless session bean you created as a Web service.
现在可以将所创建的无状态会话Bean作为Web服务公开了。
Now you can expose the stateless session bean you created as a Web service.
应用推荐