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部署描述符中就可以声明为有状态的而不是无状态的。
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部署描述符中就可以声明为有状态的而不是无状态的。
应用推荐