• For EJB JAR files, the same resource-ref should be declared in each EJB that needs to access the data source.

    对于EJBJAR文件应该需要访问数据源每个EJB声明同一资源引用

    youdao

  • The <resource-ref> tag is a way of saying, "This component has a dependency on an external resource." Listing 3 shows an example

    <resource-ref>标签意思就是“这个组件依赖外部资源”。

    youdao

  • Note that we called our database pool adserver and that is the resource-link you see in the resource-ref and the dependency.

    注意我们数据库称为adserver,并且这resource - ref依赖关系看到resource - link。

    youdao

  • To do this, you need to specify the name of the database pool to the ref-name, which should be mapped with the resource-ref in web.xml.

    为此需要数据库名称指定ref - name,名称映射到web . xml中的resource - ref

    youdao

  • Typical examples of <resource-ref> elements that are defined in the ejb-jar.xml file are JDBC data sources and JMS connection factories.

    ejb-jar.xml文件定义 <resource-ref>元素典型例子JDBC数据源JMS连接工厂。

    youdao

  • The <resource-ref> associates the JNDI name with the CustomerServiceConnectionFactory created in the Geronimo console in the previous section.

    <resource-ref> 将JNDI名称一节Geronimo控制台中创建 CustomerServiceConnectionFactory 关联起来。

    youdao

  • Alternatively, to enable lookup based upon global JNDI names specified as 'resource-ref-mappings', provide the 'mappedName' attribute within the @Resource annotation.

    另一个选择是激活指定resource-ref-mappings’的依据全局JNDI查找@Resource注解提供mappedName属性

    youdao

  • In J2EE 1.3, each of those beans would define a resource-env-ref in its deployment descriptor, which it would then look up from its local namespace.

    J2EE 1.3中,每个bean要在部署描述符定义一个resource - env - ref在以后要本地命名空间中查询它。

    youdao

  • In J2EE 1.3, each of those beans would define a resource-env-ref in its deployment descriptor, which it would then look up from its local namespace.

    J2EE 1.3中,每个bean要在部署描述符定义一个resource - env - ref在以后要本地命名空间中查询它。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定