It does this by defining XML constructs such as an id attribute and a ref attribute to serialize a graph structure into XML so that the recipient can create the same graph on the other end.
其方式为定义诸如id属性和ref属性之类的XML构造来将图结构序列化为XML,从而使接收方可以在另一端创建相同的图。
Note that the body of the <res-ref-name> element must be the same as the value of the name attribute of the matching element in the Tomcat configuration.
请注意, <res-ref-name>元素体必须与 Tomcat 配置中对应 元素的name 属性值相同。
For EJB JAR files, the same resource-ref should be declared in each EJB that needs to access the data source.
对于EJB JAR文件,应该在需要访问数据源的每个EJB中声明同一资源引用。
应用推荐