SAP STU&REF RESOURCE SAP学习和参考资料
For EJB JAR files, the same resource-ref should be declared in each EJB that needs to access the data source.
对于EJB JAR文件,应该在需要访问数据源的每个EJB中声明同一资源引用。
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 连接工厂。
The <resource-ref> associates the JNDI name with the CustomerServiceConnectionFactory created in the Geronimo console in the previous section.
<resource-ref> 将把 JNDI 名称与上一节在 Geronimo 控制台中创建的 CustomerServiceConnectionFactory 关联起来。
应用推荐