| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <web-fragment |
| xmlns="http://java.sun.com/xml/ns/javaee" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd" |
| version="3.0"> |
| |
| <name>Fragment1</name> |
| |
| <ordering> |
| <after><others/></after> |
| </ordering> |
| |
| <resource-ref> |
| <res-ref-name>jdbc/mydatasource</res-ref-name> |
| <res-type>javax.sql.DataSource</res-type> |
| <res-auth>Container</res-auth> |
| <!-- |
| <injection-target> |
| <injection-target-class>com.acme.Bar</injection-target-class> |
| <injection-target-name>myDatasource</injection-target-name> |
| </injection-target> |
| --> |
| </resource-ref> |
| |
| </web-fragment> |