Skip to content

Instantly share code, notes, and snippets.

Last active December 11, 2015 16:39
What would you like to do?
A TomEE 1.5 resource file that can be referred to from a persistence unit file, e.g.
A TomEE 1.5 Resource definition file used to configure application specific resources.
Location: <webapp>/WEB-INF/classes/META-INF/resources.xml
<Resource id="jdbc/sample" type="DataSource">
JdbcDriver org.apache.derby.jdbc.ClientDriver
JdbcUrl jdbc:derby://localhost:1527/sample
UserName app
Password app
JtaManaged true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment