Readme file in GitHub markdown format.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<persistence version="2.0" | |
xmlns="http://java.sun.com/xml/ns/persistence" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> | |
<persistence-unit name="CustomerDBSpringPU" transaction-type="JTA"> | |
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> | |
<jta-data-source>jdbc/sample</jta-data-source> | |
<class>customerdb.Customer</class> | |
<class>customerdb.DiscountCode</class> |
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
<!-- | |
A TomEE 1.5 Resource definition file used to configure application specific resources. | |
Location: <webapp>/WEB-INF/classes/META-INF/resources.xml | |
--> | |
<resources> | |
<Resource id="jdbc/sample" type="DataSource"> | |
JdbcDriver org.apache.derby.jdbc.ClientDriver | |
JdbcUrl jdbc:derby://localhost:1527/sample | |
UserName app | |
Password app |
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
package net.playermanager.examples; | |
import javax.ws.rs.GET; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.Produces; | |
/** Example resource class hosted at the URI path "/myresource" | |
*/ | |
@Path("/myresource") |
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
*.class | |
# Package Files # | |
*.jar | |
*.war | |
*.ear |
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
package net.playermanager.samples.HelloWorld; | |
public class HelloWorldFootballApp { | |
public static void main(String[] args) { | |
System.out.println("Hello World Football"); | |
} | |
} |