java - 应用程序范围的资源是 JEE6 规范的一部分吗?

标签 java glassfish java-ee-6

应用程序范围的资源(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/

相关文章:

java - 重构 if-else 控制流程

css - 如何在 CSS 中使用#resource?

java - 如何在 JPA 中级联更新

java - 当我想将 EJB 公开给同一应用程序服务器上的不同应用程序时,是否需要使用 @Remote?

hibernate - Hibernate 3.5/JPA 2.0 的区别

jakarta-ee - 枚举字段的 JSR-303 Bean 验证

java - 通过从数据库获取邮件结构在JAVA中发送邮件

java - 如何检测 JTextField 是否为空?

java - 如何在JAVA中使用MongoDB而不需要为嵌套的json多次编写代码片段?

java - 负载增加时 Glassfish 上的 SSL 异常