The server containers provide runtime support for Java EE application components (such as servlets and Enterprise JavaBeansTM (EJBTM)). They provide a layer between application component code and platform services and resources. All application component code is run on a thread managed by a container and each container typically expects all access to container-supplied objects to occur on the same thread.
It is because of this behavior that application components are typically unable to reliably use other Java EE platform services from a thread that is not managed by the container.
本文介绍了JavaEE中服务器容器如何为应用组件(如servlets和EJB)提供运行时支持。容器位于应用组件代码与平台服务及资源之间,负责管理组件执行的线程。通常情况下,容器期望所有对容器提供的对象的访问都发生在同一管理线程上。

751

被折叠的 条评论
为什么被折叠?



