因此,如果您编写应用程序来调用两个不同的服务,就不应该期望能够跨这两个服务调用来对会话进行维护。
Therefore, if you write a program to call two different services, you should not expect the session can be maintained across these two service invocations.
如果您是应用程序设计人员,要注意会话关联将覆盖服务分类映射。
If you're an application designer, be aware that session affinity overrides service class mapping.
当服务激活,可以配置ASP.NET应用将会话信息保存在该进程的内存中。
When the service is active, an ASP.NET application can be configured to store any session information into the memory of this process.
图5展示了由使用Gourmet2Go演示应用程序和注册服务的用户在几次会话期间收集到的数据。
Figure 5 shows the data, gathered during several sessions by users which have been using the Gourmet2Go demo and the registered services.
通过这种方式,负载均衡的集群的效率就可以得到保持,所有应用服务器都能够连接到任意数据库以完成它们所支持的用户会话。
In this way the load balanced cluster efficiency can be maintained with all application servers being able to connect to any database for the user sessions they are supporting.
由于应用服务器设计的原因,JMS连接可能会因为超过过时超时而关闭,即使从该连接创建的JMS会话涉及一个事务也是如此。
Due to the design of the application server, JMS connections can be closed because the Aged timeout has elapsed, even if JMS sessions created from that connection are involved in a transaction.
这意味着在REST应用程序中,服务器上没有存储任何会话状态。
This means in a REST application no session state is stored on the server.
例如,应用程序不应将过多的数据放置到会话中,从而减少服务器的内存占用并更快速方便地保持会话。
For example, applications should not put too much data into sessions to reduce the memory footprint of the server and to make session persistence easier and faster.
这将降低会话的序列化后的大小,但不会更改内存的大小,而这对应用程序服务器处理会话的效率也有影响。
This will reduce the serialized size of a session, but will not change the in-memory size, which also has an impact on how efficiently an application server can handle sessions.
一些应用程序服务器向您提供了可以利用的分布式的会话服务,但您需要事先规划并设计应用程序使之能够适合于使用这样的服务。
Some application servers provide distributed session services that you can leverage, but you need to plan ahead and design your applications accordingly to make appropriate use of such services.
大多数应用服务器会为程序开发者提供自动管理会话的环境,将程序开发人员从上面板块中所有提到的担忧中解救出来。
Most application servers provide the programmer an environment that takes care of the session automatically, relieving the programmer from all the worries mentioned in the above section.
在会话1中,用户发送一个对DCE应用服务器的资源请求。
From Session 1, the user sends a resource request to the DCE application server.
在会话2中,该用户再次发送一个对DCE应用服务器的资源请求,这会再次获取该用户完整的PAC结构。
From Session 2, the user again sends a resource request to the DCE app server, which again pulls in the user's completed PAC structure.
取决于该的应用程序体系结构的更改可能包括令人生畏任务如同步会话状态和跨服务器位置复制数据库事务。
Depending on the application, changing the architecture could include daunting tasks such as synchronizing session state and replicating database transactions across server locations.
管理性的,通过应用服务器管理控制台或事务处理和用户会话通用的脚本完成。
Administratively, through an application server administrative console or script commonly for transactions and user sessions.
不过,应用服务器将不会知道从连接创建的JMS会话不再有效。
However, the application server will be unaware that the JMS sessions created from the connection are no longer valid.
如果最大会话属性设置得太高,则将创建大量mdb实例,这可能影响应用服务器的性能。
If the maximum sessions property is set too high, there will be a large number of MDB instances created, which may affect the application server's performance.
不需要在插件路由器级别维护会话亲缘性,因为当请求被转发给应用服务器时,会话亲缘性将由ODR 负责。
There is no need to maintain session affinity at the plug-in router level, as session affinities will be taken care of by the ODRs when the requests are forwarded on to the application servers.
应用服务器基础结构提供会话复制机制。
Application server infrastructures provide session replication mechanisms.
这样,它就可以利用应用服务器提供的所有特性,如连接池、分布式会话等。
Thus they can use all the features that the Application Server provides (connection pooling, distributed sessions, and so on).
然后,由运行在应用程序服务器上的会话Bean来显示该事件。
The event is then displayed by the session bean running on the application server.
大多数Web服务应用程序是无状态的并且不依赖会话;这使它们非常适合部署到WebSphereVirtualEnterprise环境中。
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.
还需注意,应用程序将创建一个本地Notes会话,但它在访问本地服务器或Lotus Notes客户机上的数据时不受任何限制。
Also note that the application creates a local Notes session, but it is not limited to accessing data on the local server or Lotus Notes client.
用户线程包括会话线程(称为sqlexec线程),会话线程是数据库运行来服务客户机应用程序的主要线程。
User threads include session threads, called sqlexec threads, which are the primary threads that the database server runs to service client applications.
下一步是生成一个已编码的URI,稍后当应用程序处理从TCAP接口发来的Web服务请求时,这个URI将用于会话相关性。
The next step is to generate an encoded URI that will be used for session affinity later when the application processes Web services requests sent to it from the TCAP interface.
当收到一条消息时,该客户机便可以与应用服务器建立一个同步的RMI连接,并按照常规的方式调用会话bean或者实体bean。
Upon receiving a message, the client could then establish a synchronous RMI connection with the application server and invoke the session or entity beans in the usual way.
程序员应该将这一信息存储在Web应用服务器的会话层或者cookie中。
Instead, your programmers should store this information in the session layer of your Web application server or in a cookie.
Body元素包含Web服务将要处理的信息,而Header 元素包含特定于应用程序的信息,比如身份验证数据和会话数据等。
The Body element contains information intended for the web service to process and the Header Element contains application specific information like authetication data,session data etc.
这篇文章说明了portlet服务在安全的环境中如何用于连接远程Web应用程序的会话bean。
This article illustrates how a portlet service can be used to connect to the session beans of a remote Web application in a secure environment.
在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.
应用推荐