Separate business logic into small stateless services that can be organized in simple homogeneous pools.
将业务逻辑分散到小的无状态服务中,这些服务可以被放到简单的同构服务池中。
Stateless services are unaware of transactional state; therefore they cannot be requested to "roll-back" a set of changes if a transaction fails.
无状态的服务意识不到事务状态,因此如果事务失败时,不能请求它们“回滚”一组变更。
A discussion of the merits of stateful and stateless services, including techniques for the specification and design of services that manage resource state.
对有状态和无状态服务的优点的讨论,包括对于规范的技术和管理资源状态的服务设计。
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.
所以只要你坚持并发编程的最简单规则——无状态服务和不变对象,将你的服务绑定到任何生产者或消费者上都会轻而易举。
Since most services are stateless, authentication would need to be performed each time a service is invoked — a very time-consuming process.
由于大多数服务是无状态的,所以每次调用服务的时候就需要执行验证——一个非常费时的过程。
In the case where participating services are not transaction-aware (e.g., stateless), then the TCS will invoke a compensating operation (i.e., "cancel").
在参与的服务察觉不到事务(举例来说,无状态的)的情况下,TCS将调用补偿操作(也就是,“取消”)。
These considerations should point you toward a web services/SOA framework, with your various services and business processes exposed as web services via stateless EJB components.
这些方面的考虑将使您转向Web服务 /SOA框架,通过无状态EJB组件把各种服务和业务流程公开为 Web 服务。
REST-based Web services are designed around this principal of building stateless Web services that transfer resources to the client.
基于REST的Web服务是围绕建立无状态Web服务来向客户传递资源这一原则设计的。
For this reason, and for the sake of simplicity, we chose to implement stateless Web services.
出于这个原因和简单性的考虑,我们选择实现无状态的Web服务。
Location independence is provided by remote interfaces using RMI over IIOP to stateless session beans or entity home methods that encapsulate the services.
位置独立性是由远程接口使用RMIover IIOP提供给无状态会话Bean或封装服务的实体home方法的。
A stateless session bean maintains no state across any two method calls (services it provides), whereas a stateful session bean maintains a state that is related to the client.
无状态会话bean不维护任何两次方法调用(它提供的服务)之间的状态,但有状态会话bean维护与客户机有关的状态。
Most Web services applications are stateless and do not depend on sessions; this makes them ideal candidates for deployment in a WebSphere Virtual Enterprise environment.
大多数Web服务应用程序是无状态的并且不依赖会话;这使它们非常适合部署到WebSphereVirtualEnterprise环境中。
Part 1 shows you how to use WS-Resources to refer to Derby data and structures from within the inherently stateless environment of Web services.
第1部分向您展示了如何使用WS -resources从web服务的固有的无状态环境里引用Derby数据和结构。
Part 1 showed you how to use WS-Resources to refer to Derby data and structures from within the inherently stateless environment of Web services.
第 1部分 向您展示了如何使用 WS-Resources从Web服务的固有的无状态环境里引用Derby数据和结构。
He suggests starting from a pure DDD approach, then creating objects (POJOs or stateless beans) implementing domain objects and exposing them as services. As a result, he has created.
他建议以纯ddd方法开始,然后创建实现了领域对象的对象(POJOs或无状态beans),并将它们暴露为服务。
In this section, you'll do the set-up necessary to expose translation Server translation services as a stateless session bean.
在此部分,将进行把TranslationServer翻译服务作为无状态会话Bean公开所需的设置步骤。
One, of course, is the fact that Web services are often implemented using unreliable, stateless transport protocols, specifically, HTTP.
当然,其中之一是Web服务通常是使用不可靠的无状态传输协议(明确地说是HTTP)来实现的。
Writing and maintaining a simple StockQuote service and other stateless Web services is a fairly trivial endeavor.
编写和维护一个简单的StockQuote服务以及其他无状态的Web服务是相当简单的工作。
Web services are stateless, but most applications are not.
Web服务是无状态的,而大多数应用程序却不是。
Therefore, in most cases, the web services function is thought of being as stateless.
因此,Web服务通常被认为是无状态的。
The EJB 3.0 specification will use annotations to apply container services. Here is an example of how you would specify a transactional attribute on a stateless session bean.
EJB 3.0规范将使用注解来应用容器服务。
In this article, we have shown examples of services that are stateful and stateless with respect to their client contract.
在本文中,我们展示了一些服务的示例,就它们的客户端契约而论,这些服务可以分为有状态的和无状态的。
The API is in the form of several hundred services, all of which are accessed through a single MDM Server stateless session bean.
API 以上百个服务的形式存在,所有服务均通过一个MDMServer无状态会话 bean 获得访问。
Logic and state separated to provide stateless processing mechanism because Web services are said to be stateless.
逻辑和状态分离,以提供无状态处理机制,因为Web服务是无状态的。
Since currently only stateless session EJBs can be made into Web services with Application Developer, I will demonstrate how to create and use a simple stateless session bean.
因为在目前,使用Application Developer,只有无状态会话ejb能做成Web服务,所以我将讲解怎样创建和使用一个简单的无状态会话bean。
If the Tasks had exposed a stateful programming model to the services (like I first assumed they did), they would be declared as stateful instead of stateless in the EJB deployment descriptor.
如果Task将有状态编程模型公开给服务(如我最先假设的那样),那么他们在EJB部署描述符中就可以声明为有状态的而不是无状态的。
Listing 12 illustrates how the stateless session bean, acting as the Web services implementation, can access WS-Addressing reference properties propagated within the message headers from the client.
清单12说明了无状态的会话bean(充当Web服务实现)能够如何访问在来自客户端的消息内部传送的WS - Addressing引用特性。
EJB web services: With the EJB 1.4 specification, web services endpoints can be modeled as stateless session beans.
EJBWeb服务(EJB Webservices):根据EJB 1.4规范,Web服务端点可以模型化为无状态的会话bean。
We were able to easily generate the necessary artifacts to expose our calculator service stateless session EJB component as a Web service using the Web Services wizard support in WSAD.
通过使用 WSAD中支持的Web服务向导,我们能够很容易地生成所需的构件来将我们的计算器服务无状态的会话EJB组件作为 Web 服务公开。
We were able to easily generate the necessary artifacts to expose our calculator service stateless session EJB component as a Web service using the Web Services wizard support in WSAD.
通过使用 WSAD中支持的Web服务向导,我们能够很容易地生成所需的构件来将我们的计算器服务无状态的会话EJB组件作为 Web 服务公开。
应用推荐