Created
May 12, 2017 10:07
-
-
Save shortthirdman/3098931caab81077541b59eed6816e33 to your computer and use it in GitHub Desktop.
[JAVA] Maven Web App J2EE Deployment descriptor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee | |
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" | |
version="2.4"> | |
<description>MySQL Test App</description> | |
<resource-ref> | |
<description>DB Connection</description> | |
<res-ref-name>jdbc/TestDB</res-ref-name> | |
<res-type>javax.sql.DataSource</res-type> | |
<res-auth>Container</res-auth> | |
</resource-ref> | |
<resource-ref> | |
<description>Oracle Datasource example</description> | |
<res-ref-name>jdbc/myoracle</res-ref-name> | |
<res-type>javax.sql.DataSource</res-type> | |
<res-auth>Container</res-auth> | |
</resource-ref> | |
<resource-ref> | |
<description>postgreSQL Datasource example</description> | |
<res-ref-name>jdbc/postgres</res-ref-name> | |
<res-type>javax.sql.DataSource</res-type> | |
<res-auth>Container</res-auth> | |
</resource-ref> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment