The container must ensure that only one thread can be executing an instance at any time. If a client
request arrives for an instance while the instance is executing another request, the container may throw
the java.rmi.RemoteException to the second request if the client is a remote client, or the
javax.ejb.EJBException if the client is a local client.[9]
Note that a session object is intended to support only a single client. Therefore, it would be an
application error if two clients attempted to invoke the same session object.
One implication of this rule is that an application cannot make loopback calls to a session bean instance.
request arrives for an instance while the instance is executing another request, the container may throw
the java.rmi.RemoteException to the second request if the client is a remote client, or the
javax.ejb.EJBException if the client is a local client.[9]
Note that a session object is intended to support only a single client. Therefore, it would be an
application error if two clients attempted to invoke the same session object.
One implication of this rule is that an application cannot make loopback calls to a session bean instance.
解决方案 »
- s2sh分页
- 请高手解释几句话
- Hibernate查数据问题,请教高手
- hibernate中one-to-many外键怎么使用延迟加载
- No action instance for path /InsertNewNotice could be created
- jasperReport问题?
- 求指导,方法重写的问题
- 第一次碰struts,编译报错UserForm.java:2: package org.apache.struts.action does not exist
- 有一个问题,怎么配置struts,有没有一个现成的例子呀,望指点,谢谢,也可以发到我的信箱
- 无法访问EntityBean
- 不能从数据表中读取数据的问题
- CMP EJB with BLOB field
If I misundertood stateless concept, please correct me.Thanks
client服务。
对于stateless 来说,客户端在调用方法的时候,是首先从pool中挂接
bean实例到ejb对象的,
所以bean实例是线程安全的。如果pool中没有可用的bean实例,容器会自动
生成bean实例的,不存在瓶颈