应用程序范围的资源(java:app/... 或 java:module/...)是 Glassfishv3.1 功能还是标准 JEE6 规范?
最佳答案
看看Java EE 6 umbrella specification .
EE.5.2.2 应用程序组件环境命名空间
The application component’s naming environment is composed of four logical namespaces, representing naming environments with different scopes. The four namespaces are:
java:comp - Names in this namespace are per-component (...) See note below.
java:module - Names in this namespace are shared by all components in a module (...)
java:app - Names in this namespace are shared by all components in all mod- ules in a single application (...)
java:global - Names in this namespace are shared by all applications deployed in an application server instance. (...)
可能更有趣:
EE.5.3.4 Java EE 产品提供商的责任
The Java EE Product Provider has the following responsibilities: (...)
- Implement the java:comp, java:module, java:app and java:global environment naming contexts, and provide them to the application component instances at runtime.
HTH。
关于java - 应用程序范围的资源是 JEE6 规范的一部分吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8126194/